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