mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-28 06:50:06 +00:00
Plumb the ability to disable V-sync through the video renderers
This commit is contained in:
1 parent
6b395c816f
commit
f7d3c10c9d
18 files changed
+90
-49
No files matched your search
@@ -19,7 +19,7 @@ public:
|
||||
|
||||
void submitFrame(AVFrame* frame);
|
||||
|
||||
bool initialize(SDL_Window* window, int maxVideoFps);
|
||||
bool initialize(SDL_Window* window, int maxVideoFps, bool enableVsync);
|
||||
|
||||
void vsyncCallback(int timeUntilNextVsyncMillis);
|
||||
|
||||
@@ -34,4 +34,5 @@ private:
|
||||
IFFmpegRenderer* m_VsyncRenderer;
|
||||
int m_MaxVideoFps;
|
||||
int m_DisplayFps;
|
||||
bool m_EnableVsync;
|
||||
};
|
||||
Reference in new issue
Block a user