Add a debugging feature that checks the OpenGL error code after every call.
4 files changed