Browse Source

ref_gl: fixed GL_CheckForErrors doesn't print error message

pull/2/head
SNMetamorph 3 years ago committed by Alibek Omarov #SupportRMS
parent
commit
2db6ad2c8a
  1. 2
      ref_gl/gl_opengl.c

2
ref_gl/gl_opengl.c

@ -1038,7 +1038,7 @@ void GL_CheckForErrors_( const char *filename, const int fileline ) @@ -1038,7 +1038,7 @@ void GL_CheckForErrors_( const char *filename, const int fileline )
if(( err = pglGetError( )) == GL_NO_ERROR )
return;
// gEngfuncs.Con_Printf( S_OPENGL_ERROR "%s (called at %s:%i)\n", GL_ErrorString( err ), filename, fileline );
gEngfuncs.Con_Printf( S_OPENGL_ERROR "%s (at %s:%i)\n", GL_ErrorString( err ), filename, fileline );
}
void GL_SetupAttributes( int safegl )

Loading…
Cancel
Save