From 21f5d0c008f003fb2298b5a57a6491ca6716618c Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Tue, 6 Nov 2012 23:01:19 -0800 Subject: [PATCH] Print GLSL version. --- src/renderer_gl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 32644fd40..5af8e398b 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -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) {