From 60d4dc76529a28356cf01d1c172117f582aad796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Wed, 11 Mar 2015 08:18:03 +0100 Subject: [PATCH] Removed useless GL debug callback I ended up not using GL's debug stuff, but forgot to remove some of the code. --- check_glsl.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/check_glsl.c b/check_glsl.c index cda065f..aaf2ce9 100644 --- a/check_glsl.c +++ b/check_glsl.c @@ -44,15 +44,6 @@ static PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; static PFNGLDELETEPROGRAMPROC glDeleteProgram; -static void debugCallback( GLenum source , GLenum type , GLuint id , - GLenum severity , GLsizei length , GLchar const* message , - void const* userParam ) -{ - fprintf( stderr , "%x %x %x %x %s\n" , source , type , id , severity , - message ); -} - - static int initContext( ) { PFNGLXCREATECONTEXTATTRIBSARBPROC glXCreateContextAttribs;