From 346c945324e293d04c30aadfe1ae1d71b2078b0b Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sun, 10 Jan 2016 22:52:56 -1000 Subject: [PATCH] Add GL rendering profile to debug output --- src/mcedit2/util/qglcontext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mcedit2/util/qglcontext.py b/src/mcedit2/util/qglcontext.py index 5aaa4e8..7604fff 100644 --- a/src/mcedit2/util/qglcontext.py +++ b/src/mcedit2/util/qglcontext.py @@ -43,6 +43,7 @@ def validateWidgetQGLContext(widget): detailedText += "Hardware Accelerated: %s\n" % (actualFormat.directRendering(), ) detailedText += "Depth buffer: %s, %s\n" % (actualFormat.depth(), actualFormat.depthBufferSize()) detailedText += "Double buffer: %s\n" % (actualFormat.doubleBuffer(), ) + detailedText += "Rendering profile: %s\n" % (actualFormat.profile(), ) detailedText += "\n" detailedText += "Driver info:\n" detailedText += "GL_VERSION: %s (%s, %s)\n" % (version, major, minor)