diff --git a/gfx/drivers_context/w_vk_ctx.c b/gfx/drivers_context/w_vk_ctx.c index 2e0b946976..caaaae4869 100644 --- a/gfx/drivers_context/w_vk_ctx.c +++ b/gfx/drivers_context/w_vk_ctx.c @@ -96,7 +96,7 @@ static void gfx_ctx_w_vk_check_window(void *data, bool *quit, if ( (win32_vk.flags & VK_DATA_FLAG_FULLSCREEN) && (g_win32_refresh_rate) && (g_win32_refresh_rate != refresh_rate) - && (abs(g_win32_refresh_rate - refresh_rate) > 0) + && (fabsf(g_win32_refresh_rate - refresh_rate) > 0.1f) && (g_win32_resize_width == *width) && (g_win32_resize_height == *height)) {