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
With this lightweight mod, only unique OpenGL errors will log exactly once, suppressing all subsequent spam.
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 (only on 26.1 and 26.2):
[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 target net/minecraft/class_1041 was not found opengl-error-suppressor.mixins.json:WindowMixin from mod opengl-error-suppressor
Credits & Differences
This mod is an adaptation of Jamalam's 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 more optimized, but there isn't much of an in-game performance difference in that regard anyway.

