[nostalgia/core/glfw] Increase uninterruptedRefreshes from user input to 25

This commit is contained in:
Gary Talent 2022-12-03 20:29:09 -06:00
parent 7434d949e7
commit 8e956c68b3

View File

@ -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<Context*>(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<Context*>(glfwGetWindowUserPointer(window));
ctx->uninterruptedRefreshes = 15;
ctx->uninterruptedRefreshes = 25;
if (action == GLFW_PRESS) {
handleKeyPress(ctx, key, true);
} else if (action == GLFW_RELEASE) {