Debug output: Use a comment to tell not to remove that code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ffc1524bf7
commit
62f815ff68
@ -49,7 +49,9 @@ PFNGLDELETEBUFFERSPROC glDeleteBuffers;
|
||||
static GLuint quad_buffer;
|
||||
static bool is_gl_init = false;
|
||||
|
||||
#if 0
|
||||
// Please leave this code, it's for debugging purpose
|
||||
//#define ENABLE_ARB_DEBUG_OUTPUT
|
||||
#ifdef ENABLE_ARB_DEBUG_OUTPUT
|
||||
static
|
||||
void debugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length,
|
||||
const GLchar* msg, const void *userparam)
|
||||
@ -160,7 +162,7 @@ void initGL()
|
||||
glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)IRR_OGL_LOAD_EXTENSION("glDrawArraysInstanced");
|
||||
glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)IRR_OGL_LOAD_EXTENSION("glDeleteBuffers");
|
||||
#endif
|
||||
#if 0
|
||||
#if ENABLE_ARB_DEBUG_OUTPUT
|
||||
glDebugMessageCallbackARB(debugCallback, NULL);
|
||||
#endif
|
||||
const float quad_vertex[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user