diff options
Diffstat (limited to 'sword2/driver/render.cpp')
-rw-r--r-- | sword2/driver/render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/render.cpp b/sword2/driver/render.cpp index e844294c43..0b01468ac9 100644 --- a/sword2/driver/render.cpp +++ b/sword2/driver/render.cpp @@ -641,7 +641,7 @@ bool Display::endRenderCycle(void) { if (_scrollXTarget == _scrollX && _scrollYTarget == _scrollY) { // If we have already reached the scroll target sleep for the // rest of the render cycle. - sleepUntil(_totalTime); + g_sword2->sleepUntil(_totalTime); _initialTime = SVM_timeGetTime(); _totalTime += MILLISECSPERCYCLE; return true; |