mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
log core context
This commit is contained in:
parent
240f208d36
commit
79d4c76c9f
@ -94,6 +94,16 @@ static HGLRC ogl_create_core_context(HDC hdc)
|
|||||||
{
|
{
|
||||||
xwglDeleteContext(g_ogl.context);
|
xwglDeleteContext(g_ogl.context);
|
||||||
oglu_init();
|
oglu_init();
|
||||||
|
|
||||||
|
#if _DEBUG
|
||||||
|
TRACE("+--OpenGL Core-----------------------------------\n");
|
||||||
|
TRACE("| GL_VERSION: %s\n", glGetString(GL_VERSION));
|
||||||
|
TRACE("| GL_VENDOR: %s\n", glGetString(GL_VENDOR));
|
||||||
|
TRACE("| GL_RENDERER: %s\n", glGetString(GL_RENDERER));
|
||||||
|
TRACE("| GL_SHADING_LANGUAGE_VERSION: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||||
|
TRACE("+------------------------------------------------\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
else if (context)
|
else if (context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user