Prepare for deferred waits

This commit is contained in:
Henrik Rydgård committed 2023-12-18 17:15:56 +01:00
1 parent 7f075dc9fe
commit 97e0f6dc94
4 files changed
+40 -11

No files matched your search

+1
View File
@@ -1117,6 +1117,7 @@ void NativeFrame(GraphicsContext *graphicsContext) {
// This, between EndFrame and Present, is where we should actually wait to do present time management.
// There might not be a meaningful distinction here for all backends..
g_frameTiming.PostSubmit();
if (renderCounter < 10 && ++renderCounter == 10) {
// We're rendering fine, clear out failure info.