From df5528b1d0547c3c5b1223bca8e3c42ebdff52ce Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sun, 15 Apr 2018 20:00:14 -0500 Subject: [PATCH] Divide Wayland rate by 1000 instead of multiply. --- gfx/drivers_context/wayland_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 07e1d7b3aa..50ebe36e06 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -1375,7 +1375,7 @@ static float gfx_ctx_wl_get_refresh_rate(void *data) { gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)data; - return (float) wl->refresh_rate * 1000.0f; + return (float) wl->refresh_rate / 1000.0f; } const gfx_ctx_driver_t gfx_ctx_wayland = {