ALL: Don't use EventRecorder at all when not compiled in

This commit is contained in:
Matthew Hoops 2013-07-06 23:54:45 -04:00
parent bd82ca97c2
commit 4a7e4e5b22
9 changed files with 61 additions and 59 deletions

View file

@ -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) {