More cleanup from self-reviewing headless client changes

meow-7.2.2
Don Kjer 2011-02-18 23:53:38 +00:00
parent 774405e92b
commit 3f5760b5ee
2 changed files with 1 additions and 3 deletions

View File

@ -28,7 +28,6 @@
#include "indra_constants.h"
#include "llwindowheadless.h"
#include "llgl.h"
//
// LLWindowHeadless

View File

@ -2640,8 +2640,7 @@ bool LLAppViewer::initWindow()
LL_INFOS("AppInit") << "Initializing window..." << LL_ENDL;
// store setting in a global for easy access and modification
gHeadlessClient = gSavedSettings.getBOOL("DisableRendering")
|| gSavedSettings.getBOOL("HeadlessClient");
gHeadlessClient = gSavedSettings.getBOOL("HeadlessClient");
// always start windowed
BOOL ignorePixelDepth = gSavedSettings.getBOOL("IgnorePixelDepth");