mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
Ignore errors from glGetString
This commit is contained in:
parent
bdb249058a
commit
dffed46947
@ -63,6 +63,8 @@ BOOL ogl_create()
|
|||||||
TRACE("| GL_SHADING_LANGUAGE_VERSION: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
|
TRACE("| GL_SHADING_LANGUAGE_VERSION: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||||
TRACE("+------------------------------------------------\n");
|
TRACE("+------------------------------------------------\n");
|
||||||
|
|
||||||
|
while (glGetError() != GL_NO_ERROR); /* Ignore errors from glGetString */
|
||||||
|
|
||||||
GL_CHECK(g_ogl.context = ogl_create_core_context(g_ogl.hdc));
|
GL_CHECK(g_ogl.context = ogl_create_core_context(g_ogl.hdc));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user