mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
parent
0ebe8ce4c5
commit
0fda5b7b80
|
@ -69,7 +69,7 @@ static void mode(void* data,
|
||||||
|
|
||||||
mode.base.width = width;
|
mode.base.width = width;
|
||||||
mode.base.height = height;
|
mode.base.height = height;
|
||||||
mode.base.refreshRate = refresh;
|
mode.base.refreshRate = refresh / 1000;
|
||||||
mode.flags = flags;
|
mode.flags = flags;
|
||||||
|
|
||||||
if (monitor->wl.modesCount + 1 >= monitor->wl.modesSize)
|
if (monitor->wl.modesCount + 1 >= monitor->wl.modesSize)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user