summaryrefslogtreecommitdiffstats
path: root/customcontext
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-03-18 12:22:23 +0100
committerGunnar Sletta <gunnar.sletta@digia.com>2013-03-18 12:42:14 +0100
commita72d8ae0e2b0a338f7bdb8f94e65a09c7ad13a5f (patch)
treea61c1f044442fccb0ed61a24552984380f6e0ba9 /customcontext
parentb3afb69ad619802d05b08ee27af3d31615d759e2 (diff)
Output a bit more information
Change-Id: I93b55b55ded4dd8d17734a98d456e1bb6df626bb Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'customcontext')
-rw-r--r--customcontext/context.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/customcontext/context.cpp b/customcontext/context.cpp
index 7b6604c..8ab0a4f 100644
--- a/customcontext/context.cpp
+++ b/customcontext/context.cpp
@@ -222,6 +222,10 @@ void Context::initialize(QOpenGLContext *context)
qDebug(" - Standard materials compiled in: %d ms", (int) prepareTimer.elapsed());
#endif
qDebug(" - OpenGL extensions: %s", glGetString(GL_EXTENSIONS));
+ qDebug(" - OpenGL Vendor: %s", glGetString(GL_VENDOR));
+ qDebug(" - OpenGL Version: %s", glGetString(GL_VERSION));
+ qDebug(" - OpenGL Renderer: %s", glGetString(GL_RENDERER));
+ qDebug(" - OpenGL Shading Language Version: %s", glGetString(GL_SHADING_LANGUAGE_VERSION));
int textureSize;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &textureSize);
qDebug(" - GL Max Texture Size: %d", textureSize);