mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-02 12:44:01 +02:00
...
This commit is contained in:
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
@@ -1345,7 +1345,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
|||||||
window->wl.monitorsCount = 0;
|
window->wl.monitorsCount = 0;
|
||||||
window->wl.monitorsSize = 1;
|
window->wl.monitorsSize = 1;
|
||||||
// looping till window fully created attaches a single pixel buffer to the window,
|
// looping till window fully created attaches a single pixel buffer to the window,
|
||||||
// this cannot be done once a OpenGL context is created for the window. So first loop
|
// this cannot be done once a OpenGL context is created for the window. So first loop
|
||||||
// and only then create the OpenGL context.
|
// and only then create the OpenGL context.
|
||||||
if (window->wl.visible) loop_till_window_fully_created(window);
|
if (window->wl.visible) loop_till_window_fully_created(window);
|
||||||
debug("Creating OpenGL context and attaching it to window\n");
|
debug("Creating OpenGL context and attaching it to window\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user