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
This commit is contained in:
parent
869386c338
commit
2fe8eafbe1
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user