medfall

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

commit 947864ac502ee07207f5188d508339947affa7f3
parent 7767739713aa27943816b7c846a406a3c2c8a370
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Sep 14 20:44:26 +0100

Const madness

Diffstat:
gl.cc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -67,7 +67,7 @@ static void gl_error_printer( } #endif -static void glfw_error_printer( const int code, const char * const message ) { +static void glfw_error_printer( int code, const char * message ) { WARN( "GLFW error %d: %s", code, message ); } @@ -86,7 +86,7 @@ GLFWwindow * gl_init() { glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 3 ); glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 3 ); - GLFWwindow * const window = glfwCreateWindow( WIDTH, HEIGHT, "bsp", NULL, NULL ); + GLFWwindow * window = glfwCreateWindow( WIDTH, HEIGHT, "bsp", NULL, NULL ); if( !window ) { FATAL( "glfwCreateWindow" ); }