mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
parent
3eae79f6e0
commit
704dc3e34d
@ -77,7 +77,7 @@ static void mode(void* data,
|
|||||||
int size = monitor->wl.modesSize * 2;
|
int size = monitor->wl.modesSize * 2;
|
||||||
_GLFWvidmodeWayland* modes =
|
_GLFWvidmodeWayland* modes =
|
||||||
realloc(monitor->wl.modes,
|
realloc(monitor->wl.modes,
|
||||||
monitor->wl.modesSize * sizeof(_GLFWvidmodeWayland));
|
size * sizeof(_GLFWvidmodeWayland));
|
||||||
monitor->wl.modes = modes;
|
monitor->wl.modes = modes;
|
||||||
monitor->wl.modesSize = size;
|
monitor->wl.modesSize = size;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user