mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 21:02:28 +00:00
Switch full-screen mode back to full-screen exclusive on Windows to reduce latency by 1 frame
This commit is contained in:
parent
9e9fe2a2cf
commit
395f337bbb
1 changed files with 2 additions and 4 deletions
|
@ -13,10 +13,8 @@
|
||||||
#include "video/sl.h"
|
#include "video/sl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(Q_OS_WIN32) || defined(Q_OS_DARWIN)
|
#if defined(Q_OS_DARWIN)
|
||||||
// Using full-screen desktop allows us to avoid needing to enable V-sync on Windows
|
// Using full-screen desktop allows allows Spaces to work on macOS.
|
||||||
// and it also avoids some strange flickering issues on my Win7 test machine
|
|
||||||
// with Intel HD 5500 graphics. It also allows Spaces to work on macOS.
|
|
||||||
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN_DESKTOP
|
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN_DESKTOP
|
||||||
#else
|
#else
|
||||||
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN
|
#define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN
|
||||||
|
|
Loading…
Reference in a new issue