diff options
author | Nyx Linden <nyx@lindenlab.com> | 2012-09-24 17:19:16 +0000 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2012-09-24 17:19:16 +0000 |
commit | 33099f4b7b55c166ba77a3e862573cd68ec4acef (patch) | |
tree | 07626f4aa5af7a99c7c34123e25687f09715ef00 /indra/newview/llviewerdisplay.cpp | |
parent | 93769c43e209b206ed06c1a812900e5e51473a74 (diff) | |
parent | d3924200b6b8817461c0f10f87a643005466d4af (diff) |
merge
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. |