Unknown OpenGL Error
Draylar opened this issue ยท 0 comments
Versions:
- Canvas 0.7.354
- Frex 1.0
- Minecraft 1.14.4 with API 0.4.1+245
Issue:
Seems like there's an issue related to logging GLX errors. I have conciseErrors
set to false, and when any errors occur, I get the following in console:
Canvas unable to create shader canvas:shaders/default.vert with property index 1024 due to unexpected error: Unknown OpenGL Error..
* note that my shader is an override of default.vert
.
When I go back into the logging process through debugger mode, the error is empty before being printed. It comes from CanvasGLHelper.getShaderInfoLog
into AbstractGlShader#load#getShaderInfoLog
.
Steps to Reproduce:
- create a simple vertex shader at
canvas:shaders/default.vert
- do something stupid, like:
- save a vec4 to a vec2
- reference a field that doesn't exist
- load the game