diff options
author | Don Kjer <don@lindenlab.com> | 2012-09-23 03:06:11 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-09-23 03:06:11 +0000 |
commit | d3924200b6b8817461c0f10f87a643005466d4af (patch) | |
tree | 4999683092c54ee3d1ceb48586419f1346823fc0 /indra/newview/llviewerdisplay.cpp | |
parent | b502880f7024ff38e0d46461c4dcf11465fd2de5 (diff) |
Removing unused gHeadlessClient code from viewer
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index cc697f8510..fae20b1c13 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -313,24 +313,6 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) // Logic for forcing window updates if we're in drone mode. // - // *TODO: Investigate running display() during gHeadlessClient. See if this early exit is needed DK 2011-02-18 - if (gHeadlessClient) - { -#if LL_WINDOWS - static F32 last_update_time = 0.f; - if ((gFrameTimeSeconds - last_update_time) > 1.f) - { - InvalidateRect((HWND)gViewerWindow->getPlatformWindow(), NULL, FALSE); - last_update_time = gFrameTimeSeconds; - } -#elif LL_DARWIN - // MBW -- Do something clever here. -#endif - // Not actually rendering, don't bother. - return; - } - - // // Bail out if we're in the startup state and don't want to try to // render the world. |