commit d9f856fb7923faf06d090c5948b1a013c778faa1 parent 6294c8368c543104468a4e4504718d38a52122cf Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Jul 6 22:14:38 +0300 Fix fullscreen on Windows Diffstat:
gl.cc | | | 2 | +- |
diff --git a/gl.cc b/gl.cc @@ -131,7 +131,7 @@ GLFWwindow * gl_init( WindowType window_type ) { glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 3 ); glfwWindowHint( GLFW_OPENGL_DEBUG_CONTEXT, 1 ); - GLFWwindow * window = glfwCreateWindow( width, height, "Medfall", NULL, NULL ); + GLFWwindow * window = glfwCreateWindow( width, height, "Medfall", monitor, NULL ); if( !window ) { FATAL( "glfwCreateWindow" ); }