...
This commit is contained in:
parent
6f147544d2
commit
7b2e29a6a8
@ -1373,10 +1373,10 @@ wakeup_main_loop() {
|
|||||||
bool
|
bool
|
||||||
should_os_window_be_rendered(OSWindow* w) {
|
should_os_window_be_rendered(OSWindow* w) {
|
||||||
return (
|
return (
|
||||||
glfwGetWindowAttrib(w->handle, GLFW_ICONIFIED) ||
|
glfwGetWindowAttrib(w->handle, GLFW_ICONIFIED)
|
||||||
!glfwGetWindowAttrib(w->handle, GLFW_VISIBLE) ||
|
|| !glfwGetWindowAttrib(w->handle, GLFW_VISIBLE)
|
||||||
glfwGetWindowAttrib(w->handle, GLFW_OCCLUDED) ||
|
|| glfwGetWindowAttrib(w->handle, GLFW_OCCLUDED)
|
||||||
!glfwAreSwapsAllowed(w->handle)
|
|| !glfwAreSwapsAllowed(w->handle)
|
||||||
) ? false : true;
|
) ? false : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user