Shut Up GL Error

Shut Up GL Error

Mod

Fixes invalid keycodes logging obnoxious and constant messages

Client Game MechanicsOptimization

94.1k downloads
36 followers
Created9 months ago
Updated9 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Shut Up GL Error

forge fabric

Fixes invalid keycodes logging obnoxious and constant messages:

########## GL ERROR ##########
@ Pre render
65539: Invalid key -1

I played on my modpack, where I have many unbound keys, for 3 hours and 4000 of these errors were logged.

The Solution

This mod simply patches the InputConstants#isKeyDown method to return false when the keycode is -1 or 0. There was never a real error going on here - not the kind you should have to worry about and definitely not the kind that should pollute logs constantly.

External resources



Project members

Jam Core

Jam Core

Organization


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID