summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormerov <none@none>2012-01-13 15:11:37 -0800
committermerov <none@none>2012-01-13 15:11:37 -0800
commit86ef722e7cb2e4c791e8223f5c09a0552b52b574 (patch)
tree92634c04e55bb7030a507f5ed11ae4b2fd3a16d4 /indra/newview
parent16112a32e83c6d67acfffdbe339fa7b7b9dd4be3 (diff)
EXP-1775 : cleanup a bit PeekMessage() usage, avoid eating one event when reaching MAX_MESSAGE_PER_UPDATE.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llstartup.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 7e02a41e7e..3923b4510a 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -804,9 +804,8 @@ bool idle_startup()
#ifdef _WIN32
MSG msg;
while( PeekMessage( &msg, /*All hWnds owned by this thread */ NULL, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE ) )
- {
- display_startup();
- }
+ { }
+ display_startup();
#endif
timeout.reset();
return FALSE;