OPENGL: Fix OpenGL ES v1 builds without GLAD

This commit is contained in:
Cameron Cawley 2022-03-06 16:35:05 +00:00 committed by aquadran
parent b3f98810a2
commit 460bc32cd9
3 changed files with 21 additions and 1 deletions

View file

@ -204,8 +204,10 @@ void OpenGLGraphicsManager::initializeGLContext() {
}
// Log features supported by GL context.
#if !USE_FORCED_GLES
if (g_context.shadersSupported)
debug(5, "GLSL version: %s", glGetString(GL_SHADING_LANGUAGE_VERSION));
#endif
debug(5, "OpenGL vendor: %s", glGetString(GL_VENDOR));
debug(5, "OpenGL renderer: %s", glGetString(GL_RENDERER));
debug(5, "OpenGL: NPOT texture support: %d", g_context.NPOTSupported);