Removed useless GL debug callback
I ended up not using GL's debug stuff, but forgot to remove some of the code.
This commit is contained in:
parent
bbee7612d4
commit
60d4dc7652
1 changed files with 0 additions and 9 deletions
|
@ -44,15 +44,6 @@ static PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog;
|
||||||
static PFNGLDELETEPROGRAMPROC glDeleteProgram;
|
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( )
|
static int initContext( )
|
||||||
{
|
{
|
||||||
PFNGLXCREATECONTEXTATTRIBSARBPROC glXCreateContextAttribs;
|
PFNGLXCREATECONTEXTATTRIBSARBPROC glXCreateContextAttribs;
|
||||||
|
|
Reference in a new issue