mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Fix automation recording (#3523)
This commit is contained in:
@@ -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++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user