Home›Java›Mods›OpenGL Error Suppressor
OpenGL Error Suppressor
ModsJava

OpenGL Error Suppressor

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by KnightOfTheBow · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.3 · Fabric⬇ Download for 1.21.7–26.2 · Fabric⬇ Download for 26.3 · Forge⬇ Download for 1.21.7–26.2 · Forge⬇ Download for 26.3 · NeoForge⬇ Download for 1.21.7–26.2 · NeoForge⬇ Download for 26.3 · Quilt⬇ Download for 1.21.7–26.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more