#include "GLHelpers.hpp" #include namespace renderer { static void glDebugOutput ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam ) { (void)source; (void)type; (void)id; (void)severity; (void)length; (void)userParam; std::cerr << "GL Debug: " << message << std::endl; } bool initGL () { glEnable( GL_DEPTH_TEST ); glDepthFunc( GL_LESS ); setupDebugCallback(); return true; } void setupDebugCallback () {} } // namespace renderer