From d26afbc4007bf49e90bb00fa2f9be065fd6f4ec6 Mon Sep 17 00:00:00 2001 From: uncor3 Date: Sat, 23 May 2026 13:13:06 +0000 Subject: [PATCH] fix render loop on Linux --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 00ce9a0..9e52f2a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -116,10 +116,10 @@ fn main() { // #else // qputenv("QT_QUICK_CONTROLS_STYLE", "Default"); // #endif - // #ifdef Q_OS_LINUX - // // fix bug UOSv20 v-sync does not work - // qputenv("QSG_RENDER_LOOP", "basic"); - // #endif + #ifdef Q_OS_LINUX + // fix bug UOSv20 v-sync does not work + qputenv("QSG_RENDER_LOOP", "basic"); + #endif #ifdef Q_OS_WINDOWS // uxplay now uses qml6glsink so we have to use opengl on Windows