diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-10-18 16:59:15 -0400 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-10-18 16:59:15 -0400 | 
| commit | 02001352246fca709ffb00938ac349512a30dfd6 (patch) | |
| tree | c9ffa6e5c86066020ba6108d0e5a9956bc793c64 /indra/newview/llappviewermacosx.cpp | |
| parent | 8230a9937f3bded847dae6c33e01b44158a7f8ee (diff) | |
| parent | 086c1342152895da28d2e0130d09432152604ca8 (diff) | |
merge
Diffstat (limited to 'indra/newview/llappviewermacosx.cpp')
| -rw-r--r-- | indra/newview/llappviewermacosx.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp index ca219fda59..4fe1e31668 100644 --- a/indra/newview/llappviewermacosx.cpp +++ b/indra/newview/llappviewermacosx.cpp @@ -117,12 +117,17 @@ void handleQuit()  	LLAppViewer::instance()->userQuit();  } -bool runMainLoop() +// This function is called pumpMainLoop() rather than runMainLoop() because +// it passes control to the viewer's main-loop logic for a single frame. Like +// LLAppViewer::frame(), it returns 'true' when it's done. Until then, it +// expects to be called again by the timer in LLAppDelegate +// (llappdelegate-objc.mm). +bool pumpMainLoop()  {  	bool ret = LLApp::isQuitting();  	if (!ret && gViewerAppPtr != NULL)  	{ -		ret = gViewerAppPtr->mainLoop(); +		ret = gViewerAppPtr->frame();  	} else {  		ret = true;  	}  | 
