diff options
author | Eugene Sandulenko | 2013-07-18 08:15:28 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2013-07-18 08:15:28 -0700 |
commit | 2c812ade01714351aeda3dbbe877d376ad3d48ca (patch) | |
tree | 61daae8cca200b51fdea0c82ecc2d555e97ba865 /backends/modular-backend.cpp | |
parent | 2eb26ad02ead5fc65cc206cb287ff04c84eba4e8 (diff) | |
parent | 4a7e4e5b22da3587a9d68978d7be31e4e78a8ccc (diff) | |
download | scummvm-rg350-2c812ade01714351aeda3dbbe877d376ad3d48ca.tar.gz scummvm-rg350-2c812ade01714351aeda3dbbe877d376ad3d48ca.tar.bz2 scummvm-rg350-2c812ade01714351aeda3dbbe877d376ad3d48ca.zip |
Merge pull request #353 from clone2727/eventrec_timer_fix
ALL: Don't use EventRecorder at all when not compiled in
Diffstat (limited to 'backends/modular-backend.cpp')
-rw-r--r-- | backends/modular-backend.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/modular-backend.cpp b/backends/modular-backend.cpp index d84df75439..6afe06aeca 100644 --- a/backends/modular-backend.cpp +++ b/backends/modular-backend.cpp @@ -142,9 +142,15 @@ void ModularBackend::fillScreen(uint32 col) { } void ModularBackend::updateScreen() { +#ifdef ENABLE_EVENTRECORDER g_eventRec.preDrawOverlayGui(); +#endif + _graphicsManager->updateScreen(); + +#ifdef ENABLE_EVENTRECORDER g_eventRec.postDrawOverlayGui(); +#endif } void ModularBackend::setShakePos(int shakeOffset) { |