summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2012-07-03 01:06:04 +0000
committerDon Kjer <don@lindenlab.com>2012-07-03 01:06:04 +0000
commit5904976435873b0b3c4f39a2514aef38bee22a39 (patch)
tree76f33d513fd545215cb40033867da3c4e02f9e71 /indra/newview/llviewerwindow.cpp
parented5b46c9b0f71b458f8dd58a9c76ae51f974726b (diff)
Added more rendering-code early-exits when in headless mode.
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rwxr-xr-xindra/newview/llviewerwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 7afb135470..ed970b84a7 100755
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1712,6 +1712,7 @@ LLViewerWindow::LLViewerWindow(const Params& p)
void LLViewerWindow::initGLDefaults()
{
+ if (gHeadlessClient) return;
gGL.setSceneBlendType(LLRender::BT_ALPHA);
if (!LLGLSLShader::sNoFixedFunction)