another attempt to supplant macosx's weakness

This commit is contained in:
Mark Vejvoda 2011-11-01 17:38:51 +00:00
parent a2110f21c7
commit 279ef96fd1

View File

@ -2845,6 +2845,7 @@ int glestMain(int argc, char** argv) {
} }
} }
Renderer &renderer= Renderer::getInstance();
lang.loadStrings(language); lang.loadStrings(language);
if( lang.hasString("FONT_HEIGHT_TEXT")) { if( lang.hasString("FONT_HEIGHT_TEXT")) {
@ -3196,7 +3197,7 @@ int glestMain(int argc, char** argv) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
// Initialize Renderer // Initialize Renderer
Renderer &renderer= Renderer::getInstance(); //Renderer &renderer= Renderer::getInstance();
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] OpenGL Info:\n%s\n",__FILE__,__FUNCTION__,__LINE__,renderer.getGlInfo().c_str()); SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] OpenGL Info:\n%s\n",__FILE__,__FUNCTION__,__LINE__,renderer.getGlInfo().c_str());
if(SystemFlags::getSystemSettingType(SystemFlags::debugPathFinder).enabled == true) { if(SystemFlags::getSystemSettingType(SystemFlags::debugPathFinder).enabled == true) {