mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
only ignore errors in debug build
This commit is contained in:
parent
efd5bc6c32
commit
e79e076f0a
@ -63,7 +63,9 @@ BOOL ogl_create()
|
||||
TRACE("| GL_SHADING_LANGUAGE_VERSION: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||
TRACE("+------------------------------------------------\n");
|
||||
|
||||
#ifdef _DEBUG
|
||||
while (glGetError() != GL_NO_ERROR); /* Ignore errors from glGetString */
|
||||
#endif
|
||||
|
||||
GL_CHECK(g_ogl.context = ogl_create_core_context(g_ogl.hdc));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user