From 8e956c68b310e02e50c031ecec3d321d144e2193 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 3 Dec 2022 20:29:09 -0600 Subject: [PATCH] [nostalgia/core/glfw] Increase uninterruptedRefreshes from user input to 25 --- src/nostalgia/core/glfw/gfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nostalgia/core/glfw/gfx.cpp b/src/nostalgia/core/glfw/gfx.cpp index 2b2d33065..1215beb89 100644 --- a/src/nostalgia/core/glfw/gfx.cpp +++ b/src/nostalgia/core/glfw/gfx.cpp @@ -71,7 +71,7 @@ static void handleGlfwCursorPosEvent(GLFWwindow*, double, double) noexcept { static void handleGlfwMouseButtonEvent(GLFWwindow *window, int, int, int) noexcept { const auto ctx = static_cast(glfwGetWindowUserPointer(window)); - ctx->uninterruptedRefreshes = 15; + ctx->uninterruptedRefreshes = 25; } static void handleGlfwWindowResize(GLFWwindow*, int, int) noexcept { @@ -79,7 +79,7 @@ static void handleGlfwWindowResize(GLFWwindow*, int, int) noexcept { static void handleGlfwKeyEvent(GLFWwindow *window, int key, int, int action, int) noexcept { const auto ctx = static_cast(glfwGetWindowUserPointer(window)); - ctx->uninterruptedRefreshes = 15; + ctx->uninterruptedRefreshes = 25; if (action == GLFW_PRESS) { handleKeyPress(ctx, key, true); } else if (action == GLFW_RELEASE) {