ALL: Don't use EventRecorder at all when not compiled in
This commit is contained in:
parent
bd82ca97c2
commit
4a7e4e5b22
9 changed files with 61 additions and 59 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue