From a412f7b1cbc477f965bc35e63f0d2cd38176b9d5 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Wed, 1 May 2013 12:41:53 -0700 Subject: [PATCH] Derp, forgot to move this in my codebase. --- interface/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/src/main.cpp b/interface/src/main.cpp index da503b4021..c68c6aee9c 100644 --- a/interface/src/main.cpp +++ b/interface/src/main.cpp @@ -1623,9 +1623,6 @@ int main(int argc, const char * argv[]) voxels_lib::printLog = & ::printLog; avatars_lib::printLog = & ::printLog; - // we need to create a QApplication instance in order to use Qt's font rendering - app = new QApplication(argc, const_cast(argv)); - unsigned int listenPort = AGENT_SOCKET_LISTEN_PORT; const char* portStr = getCmdOption(argc, argv, "--listenPort"); if (portStr) { @@ -1678,7 +1675,10 @@ int main(int argc, const char * argv[]) #ifdef _WIN32 glewInit(); #endif - + + // we need to create a QApplication instance in order to use Qt's font rendering + app = new QApplication(argc, const_cast(argv)); + // Before we render anything, let's set up our viewFrustumOffsetCamera with a sufficiently large // field of view and near and far clip to make it interesting. //viewFrustumOffsetCamera.setFieldOfView(90.0);