Divide Wayland rate by 1000 instead of multiply.

This commit is contained in:
Brandon Wright 2018-04-15 20:00:14 -05:00
parent e049605359
commit df5528b1d0

View File

@ -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 = {