Merge branch 'master' of goat:git/laserbrain_demo
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Wed, 6 Jun 2018 02:42:40 +0000 (05:42 +0300)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Wed, 6 Jun 2018 02:42:40 +0000 (05:42 +0300)
1  2 
src/opengl.c

diff --combined src/opengl.c
@@@ -17,12 -17,11 +17,12 @@@ int init_opengl(void
        glewInit();
  
        glcaps.debug = GLEW_ARB_debug_output;
 +      glcaps.draw_range = GLEW_EXT_draw_range_elements;
  
  #ifndef NDEBUG
        if(glcaps.debug) {
                info_log("Installing OpenGL debug callback\n");
-               glDebugMessageCallback(gldebug_logger, 0);
+               glDebugMessageCallbackARB(gldebug_logger, 0);
        }
  #endif