From 8d1701b0bbc0f4a3c438603eb7d26769d0e38928 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 4 Jan 2025 23:49:04 -0600 Subject: [PATCH] [turbine/glfw] Ensure window opens with a standard mandatory refresh period --- src/olympic/turbine/src/glfw/turbine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/olympic/turbine/src/glfw/turbine.cpp b/src/olympic/turbine/src/glfw/turbine.cpp index 91147c29..d814823f 100644 --- a/src/olympic/turbine/src/glfw/turbine.cpp +++ b/src/olympic/turbine/src/glfw/turbine.cpp @@ -50,6 +50,7 @@ ox::Result init( glfwInit(); OX_RETURN_ERROR(initGfx(*ctx)); glfwSetWindowSizeCallback(ctx->window, draw); + ctx->mandatoryRefreshPeriodEnd = ticksMs(*ctx) + config::MandatoryRefreshPeriod; return ox::UPtr(ctx.release()); }