mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Fix automation recording (#3523)
This commit is contained in:
@@ -865,6 +865,10 @@ void EndDrawing(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
||||
if (automationEventRecording) RecordAutomationEvent(); // Event recording
|
||||
#endif
|
||||
|
||||
#if !defined(SUPPORT_CUSTOM_FRAME_CONTROL)
|
||||
SwapScreenBuffer(); // Copy back buffer to front buffer (screen)
|
||||
|
||||
@@ -928,10 +932,6 @@ void EndDrawing(void)
|
||||
}
|
||||
#endif // SUPPORT_SCREEN_CAPTURE
|
||||
|
||||
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
||||
if (automationEventRecording) RecordAutomationEvent(); // Event recording
|
||||
#endif
|
||||
|
||||
CORE.Time.frameCounter++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user