Improve robustness and error handling of DXVsyncSource

This commit is contained in:
Cameron Gutman committed 2026-10-20 00:29:25 -05:00
1 parent e4db5c2c18
commit 9af0e9f539
4 files changed
+78 -48

No files matched your search

@@ -22,9 +22,10 @@ public:
// sources require calls to waitForVsync().
virtual bool isAsync() = 0;
virtual void waitForVsync() {
virtual bool waitForVsync() {
// Synchronous sources must implement waitForVsync()!
SDL_assert(false);
return false;
}
};