mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-28 06:50:06 +00:00
Improve robustness and error handling of DXVsyncSource
This commit is contained in:
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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user