medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit cbd021184ff8012a562946fc3d786038dc814db6
parent 6c66cf05eb77bcd647b3c72cdd98747c2d1ec711
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Sep 28 22:24:38 +0300

Explicitly request a debug GL context

Diffstat:
gl.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -85,6 +85,7 @@ GLFWwindow * gl_init() { glfwWindowHint( GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE ); glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 3 ); glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 3 ); + glfwWindowHint( GLFW_OPENGL_DEBUG_CONTEXT, 1 ); GLFWwindow * window = glfwCreateWindow( WIDTH, HEIGHT, "bsp", NULL, NULL ); if( !window ) {