1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

log core context

This commit is contained in:
FunkyFr3sh 2022-09-24 01:30:10 +02:00
parent 240f208d36
commit 79d4c76c9f

View File

@ -94,6 +94,16 @@ static HGLRC ogl_create_core_context(HDC hdc)
{
xwglDeleteContext(g_ogl.context);
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;
}
else if (context)