From 93afdf79a3e32108a565d2b889c4c1999eabe3a0 Mon Sep 17 00:00:00 2001 From: Sam Gateau Date: Tue, 21 Jul 2015 11:17:41 -0700 Subject: [PATCH] Removing the gl driver version report intiialization code out of applciation --- interface/src/Application.h | 1 + libraries/gpu/src/gpu/GLBackend.cpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/interface/src/Application.h b/interface/src/Application.h index 736f515390..9e234354b1 100644 --- a/interface/src/Application.h +++ b/interface/src/Application.h @@ -482,6 +482,7 @@ private: glm::vec3 getSunDirection(); void renderRearViewMirror(RenderArgs* renderArgs, const QRect& region, bool billboard = false); + void setMenuShortcutsEnabled(bool enabled); static void attachNewHeadToNode(Node *newNode); diff --git a/libraries/gpu/src/gpu/GLBackend.cpp b/libraries/gpu/src/gpu/GLBackend.cpp index adebee2f20..558c94f062 100644 --- a/libraries/gpu/src/gpu/GLBackend.cpp +++ b/libraries/gpu/src/gpu/GLBackend.cpp @@ -91,6 +91,11 @@ GLBackend::GLBackend() : { initInput(); initTransform(); + + qCDebug(gpulogging) << "GL Version: " << QString((const char*) glGetString(GL_VERSION)); + qCDebug(gpulogging) << "GL Shader Language Version: " << QString((const char*) glGetString(GL_SHADING_LANGUAGE_VERSION)); + qCDebug(gpulogging) << "GL Vendor: " << QString((const char*) glGetString(GL_VENDOR)); + qCDebug(gpulogging) << "GL Renderer: " << QString((const char*) glGetString(GL_RENDERER)); } GLBackend::~GLBackend() {