Print GLSL version.

This commit is contained in:
bkaradzic 2012-11-06 23:01:19 -08:00
parent 2f370a6f06
commit 21f5d0c008

View File

@ -1909,6 +1909,9 @@ namespace bgfx
GL_GET(GL_MAX_RENDERBUFFER_SIZE, 1);
#endif // BGFX_CONFIG_DEBUG
const char* version = (const char*)glGetString(GL_SHADING_LANGUAGE_VERSION);
BX_TRACE("GLSL version: %s", version);
const char* extensions = (const char*)glGetString(GL_EXTENSIONS);
if (NULL != extensions)
{