Open
Description
Most OpenGL functions can return errors, but they have to be handled manually.
https://www.khronos.org/opengl/wiki/OpenGL_Error
Should the wrapper handle this?
I think it could be cool to have the functions return the error directly if it happens.
My idea is to have a wrapper around each binding call that would do 1) empty the error queue 2) execute the opengl function 3) check if there is a new error and, if so return it.
This is quite the major change in the wrapper, so I want to know what you think about it before doing so.
Metadata
Metadata
Assignees
Labels
No labels