From 2db6ad2c8ab17a10179e78fc40538ead0fee9674 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Sun, 1 Aug 2021 20:09:00 +0400 Subject: [PATCH] ref_gl: fixed GL_CheckForErrors doesn't print error message --- ref_gl/gl_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref_gl/gl_opengl.c b/ref_gl/gl_opengl.c index 49802a19..75580da3 100644 --- a/ref_gl/gl_opengl.c +++ b/ref_gl/gl_opengl.c @@ -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 )