2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

ref_gl: fixed GL_CheckForErrors doesn't print error message

This commit is contained in:
SNMetamorph 2021-08-01 20:09:00 +04:00 committed by Alibek Omarov #SupportRMS
parent 8c351d9255
commit 2db6ad2c8a

View File

@ -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 )