fixed warnings
made OpenGL event macros actually follow the OPENGL_DEBUG macro