OpenGL deprecation spam slowing down debug build
Issue #327
resolved
Since 818d521f the Windows debug build at least constantly spams:
OpenGLDebugger: DEPRECATED(Medium): Wide lines have been deprecated. glLineWidth set to 4.500000. glLineWidth with width greater than 1.0 will generate GL_INVALID_VALUE error in future versions
This kills the framerate.
Comments (5)
-
-
- changed status to resolved
automatically disable line thickness scaling if the hardware is too confused to support it, resolves
#327, and add line smoothing config option→ <<cset 08fdc9358b66>>
-
add newline by default to opengl debugger output, re
#327→ <<cset e80d64b24a11>>
-
Note for future debug version users: you can disable line thickness scaling in the config file
-
- removed milestone
Removing milestone: Beta (automated comment)
- Log in to comment
It's not really deprecated, but some implementations may not support line widths other than 1. Will check at startup for the user's specific implementation.
"Wide lines deprecation will be deprecated in the OpenGL 3.1 spec" apparently. So this warning only appears on older hardware.
See https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glLineWidth.xhtml for the state at the time of writing.