commit 00d4f02248b3c1b3a5a6338f9ef44ea49571d8c0 parent 12d7ba014c0663f3d3485d1916e071f35d12e6e0 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Aug 26 09:47:00 +0100 Use gladLoadGLLoader Diffstat:
gl.cc | | | 2 | +- |
diff --git a/gl.cc b/gl.cc @@ -163,7 +163,7 @@ GLFWwindow * gl_init( WindowType window_type ) { glfwMakeContextCurrent( window ); - if( gladLoadGL() != 1 ) { + if( gladLoadGLLoader( ( GLADloadproc ) glfwGetProcAddress ) != 1 ) { FATAL( "gladLoadGL" ); }