We currently have conditional code to check for errors after OpenGL function calls in debug mode. This is a sloppy anti-pattern. Really, checking for errors should be a consumer responsibility; the core wrapper library should not be adding logic - particularly logic which only works in Debug mode.
Originally noted in PR #177.
We currently have conditional code to check for errors after OpenGL function calls in debug mode. This is a sloppy anti-pattern. Really, checking for errors should be a consumer responsibility; the core wrapper library should not be adding logic - particularly logic which only works in Debug mode.
This code should just be removed.