aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llapp.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcommon/llapp.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llcommon/llapp.cpp')
-rw-r--r--linden/indra/llcommon/llapp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llapp.cpp b/linden/indra/llcommon/llapp.cpp
index ebace4e..3ca3782 100644
--- a/linden/indra/llcommon/llapp.cpp
+++ b/linden/indra/llcommon/llapp.cpp
@@ -224,6 +224,7 @@ LLSD LLApp::getOptionData(OptionPriority level)
224void LLApp::stepFrame() 224void LLApp::stepFrame()
225{ 225{
226 LLFrameTimer::updateFrameTime(); 226 LLFrameTimer::updateFrameTime();
227 LLFrameTimer::updateFrameCount();
227 LLEventTimer::updateClass(); 228 LLEventTimer::updateClass();
228 mRunner.run(); 229 mRunner.run();
229} 230}
@@ -492,6 +493,7 @@ void LLApp::setDefaultChildCallback(LLAppChildCallback callback)
492 493
493pid_t LLApp::fork() 494pid_t LLApp::fork()
494{ 495{
496 fflush(NULL); // flush all buffers before the child inherits them
495 pid_t pid = ::fork(); 497 pid_t pid = ::fork();
496 if( pid < 0 ) 498 if( pid < 0 )
497 { 499 {