Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
OpenGL Error Suppressor
Have you ever noticed in your logs a constant spamming of GL errors like this?
########## GL ERROR ##########
@ Pre render
65539: Invalid key -1
Or debug messages like this?
[xx:xx:xx] [Thread-1/INFO] (Minecraft) OpenGL debug message: id=1280, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_ENUM error generated. <cap> enum is invalid; expected GL_ALPHA_TEST, GL_BLEND, GL_COLOR_MATERIAL, GL_CULL_FACE, GL_DEPTH_TEST, GL_DITHER, GL_FOG, etc. (136 others).'
With this lightweight mod, only unique OpenGL errors will log exactly once, suppressing all subsequent spam! Simply drop the mod into your mods folder.
Startup Note (Minecraft 26.2 and Below)
If you're playing on 26.2 or older, you may or may not notice a few warning logs in your console during startup. These are completely harmless and can be safely ignored as the mod works regardless.
Example Warning Logs (Safe to Ignore)
[xx:xx:xx] [main/WARN]: Error loading class: net/minecraft/class_1041 (java.lang.ClassNotFoundException: net/minecraft/class_1041)
[xx:xx:xx] [main/WARN]: @Mixin target net/minecraft/class_1041 was not found opengl-error-suppressor.mixins.json:WindowMixin from mod opengl-error-suppressor
[xx:xx:xx] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/MainWindow (java.lang.ClassNotFoundException: null)
[xx:xx:xx] [main/WARN] [ne.ne.fm.lo.LanguageProviderLoader/]: Mod jar(mods/opengl_error_suppressor-neoforge-1.x.x.jar) is using the deprecated 'lowcodefml' language loader. This warning can be fixed by simply removing the modLoader and loaderVersion settings from neoforge.mods.toml.
Credits & Differences
For 26.2 and below: This mod is an adaptation of Jamalam's Shut Up GL Error.
Differences from Shut Up GL Error
The main difference is that this mod doesn't require any dependencies, is compatible with a wider range of versions, and has no behavior configurations.
Other than that, this mod does make use of the Minecraft-bundled FastUtil primitive sets, which makes this comparatively more optimized, but there isn't much of an in-game performance difference in that regard anyway.


