Fix automation recording (#3523)
This commit is contained in:
parent
d32ebbe716
commit
9634c84e1c
|
|
@ -865,6 +865,10 @@ void EndDrawing(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
||||||
|
if (automationEventRecording) RecordAutomationEvent(); // Event recording
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(SUPPORT_CUSTOM_FRAME_CONTROL)
|
#if !defined(SUPPORT_CUSTOM_FRAME_CONTROL)
|
||||||
SwapScreenBuffer(); // Copy back buffer to front buffer (screen)
|
SwapScreenBuffer(); // Copy back buffer to front buffer (screen)
|
||||||
|
|
||||||
|
|
@ -928,10 +932,6 @@ void EndDrawing(void)
|
||||||
}
|
}
|
||||||
#endif // SUPPORT_SCREEN_CAPTURE
|
#endif // SUPPORT_SCREEN_CAPTURE
|
||||||
|
|
||||||
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
|
||||||
if (automationEventRecording) RecordAutomationEvent(); // Event recording
|
|
||||||
#endif
|
|
||||||
|
|
||||||
CORE.Time.frameCounter++;
|
CORE.Time.frameCounter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user