mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 12:53:57 +02:00
Removing the gl driver version report intiialization code out of applciation
This commit is contained in:
parent
5bf85961d2
commit
93afdf79a3
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue