From 395f337bbb6bd5570c52aedf645f867a067c4bf2 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 20 Aug 2018 21:19:00 -0700 Subject: [PATCH] Switch full-screen mode back to full-screen exclusive on Windows to reduce latency by 1 frame --- app/streaming/session.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 8bbf1c1e..b8a90769 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -13,10 +13,8 @@ #include "video/sl.h" #endif -#if defined(Q_OS_WIN32) || defined(Q_OS_DARWIN) -// Using full-screen desktop allows us to avoid needing to enable V-sync on Windows -// 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. +#if defined(Q_OS_DARWIN) +// Using full-screen desktop allows allows Spaces to work on macOS. #define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN_DESKTOP #else #define SDL_OS_FULLSCREEN_FLAG SDL_WINDOW_FULLSCREEN