From 067da35ada1fceb8e08e155db10b2b4f7162b3c9 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 28 Jul 2022 00:48:54 +0700 Subject: [PATCH] reenable vsync --- .../kotlin/ru/dbotthepony/kstarbound/client/StarboundClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/client/StarboundClient.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/client/StarboundClient.kt index 239a3c33..b999bebb 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/client/StarboundClient.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/client/StarboundClient.kt @@ -117,7 +117,7 @@ class StarboundClient : AutoCloseable { GLFW.glfwMakeContextCurrent(window) // vsync - GLFW.glfwSwapInterval(0) + GLFW.glfwSwapInterval(1) GLFW.glfwShowWindow(window) putDebugLog("Initialized GLFW window")