mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 15:25:50 +00:00
Remove monitor from _GLFWwndconfig
This commit is contained in:
+2
-2
@@ -329,13 +329,13 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
||||
return GLFW_FALSE;
|
||||
}
|
||||
|
||||
if (wndconfig->monitor)
|
||||
if (window->monitor)
|
||||
{
|
||||
wl_shell_surface_set_fullscreen(
|
||||
window->wl.shell_surface,
|
||||
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT,
|
||||
0,
|
||||
wndconfig->monitor->wl.output);
|
||||
window->monitor->wl.output);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user