From 2fe8eafbe12dba8aa7fe82bdeda48b1d17c766fc Mon Sep 17 00:00:00 2001 From: vincentlj Date: Sun, 5 Jan 2014 21:14:10 +0000 Subject: [PATCH] OGL Debug : looks like not all driver on linux support arb debug output :( git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14929 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/glwrap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/glwrap.cpp b/src/graphics/glwrap.cpp index f60e9bf66..09caf8876 100644 --- a/src/graphics/glwrap.cpp +++ b/src/graphics/glwrap.cpp @@ -49,7 +49,7 @@ PFNGLDELETEBUFFERSPROC glDeleteBuffers; static GLuint quad_buffer; static bool is_gl_init = false; -#ifdef DEBUG_OUTPUT_DECLARED +#if 0 static void debugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* msg, const void *userparam) @@ -160,7 +160,7 @@ void initGL() glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)IRR_OGL_LOAD_EXTENSION("glDrawArraysInstanced"); glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)IRR_OGL_LOAD_EXTENSION("glDeleteBuffers"); #endif -#ifdef DEBUG_OUTPUT_DECLARED +#if 0 glDebugMessageCallbackARB(debugCallback, NULL); #endif const float quad_vertex[] = {