History

Removing some dead forward declarations

Brad Davis committed 11 years ago

Commit c0859ff1 parent 7578a703 files · +2 −27Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+2−24
@@ -9,11 +9,9 @@ · 8 unmodified lines
99 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
1010 //
1111
12−#include <sstream>
12+#include "Application.h"
1313
14−#include <stdlib.h>
15−#include <cmath>
16−#include <math.h>
14+#include <sstream>
1715
1816 #include <glm/glm.hpp>
1917 #include <glm/gtx/component_wise.hpp>
@@ -92,7 +90,6 @@ · 72 unmodified lines
9290 #include <UUID.h>
9391 #include <VrMenu.h>
9492
95−#include "Application.h"
9693 #include "AudioClient.h"
9794 #include "DiscoverabilityManager.h"
9895 #include "GLCanvas.h"
@@ -766,25 +763,6 @@ void Application::initializeGL() { · 667 unmodified lines
766763 }
767764 #endif
768765
769− qCDebug(interfaceapp) << "GL Version: " << QString((const char*) glGetString(GL_VERSION));
770− qCDebug(interfaceapp) << "GL Shader Language Version: " << QString((const char*) glGetString(GL_SHADING_LANGUAGE_VERSION));
771− qCDebug(interfaceapp) << "GL Vendor: " << QString((const char*) glGetString(GL_VENDOR));
772− qCDebug(interfaceapp) << "GL Renderer: " << QString((const char*) glGetString(GL_RENDERER));
773−
774− #ifdef WIN32
775− GLenum err = glewInit();
776− if (GLEW_OK != err) {
777− /* Problem: glewInit failed, something is seriously wrong. */
778− qCDebug(interfaceapp, "Error: %s\n", glewGetErrorString(err));
779− }
780− qCDebug(interfaceapp, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
781−
782− if (wglewGetExtension("WGL_EXT_swap_control")) {
783− int swapInterval = wglGetSwapIntervalEXT();
784− qCDebug(interfaceapp, "V-Sync is %s\n", (swapInterval > 0 ? "ON" : "OFF"));
785− }
786− #endif
787−
788766 #if defined(Q_OS_LINUX)
789767 // TODO: Write the correct code for Linux...
790768 /* if (wglewGetExtension("WGL_EXT_swap_control")) {