-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Description
I have been getting a weird opengl error on my newer computers:
OpenGL debug message: id=1280, source=API, type=ERROR, severity=HIGH, message='Error has been generated. GL error GL_INVALID_ENUM in (null): (ID: 173538523) Generic error'
It happens every frame, and it's pretty annoying. Printing the stacktrace in the debug callback shows this:

Looking at that code, I then see this line of code that's the problem: glGetTextureParameteri(texture, GL_TEXTURE_TARGET). Looking at the opengl documentation, I see that GL_TEXTURE_TARGET is not a valid parameter, as the error message confirms. This happens on some of my computers and not on others, it's likely when the device supports that method that the error occurs.
To Reproduce
- Acquire a device that supports
glGetTextureParameteriv - Run the game (and join a world)
- Check the console
System Information
- Veil Version: Same error in 1.0.0.85 and 2.5.1 (latest)
- Minecraft Version: 1.21.1
- Loader & Loader Version: Fabric 0.16.14
- Operating System: Windows 11
- CPU: Intel Core Ultra 9 288V
- GPU: Intel Arc Graphics
- RAM: 32GB
Additional Context
Very annoying for development because it spams the console and it's harder to log things