mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 07:24:20 +00:00
*** empty log message ***
This commit is contained in:
parent
ee05436c65
commit
7c9f237563
1 changed files with 3 additions and 1 deletions
|
|
@ -230,7 +230,9 @@ public final class Window {
|
|||
if (!isCreated())
|
||||
throw new IllegalStateException("Cannot update uncreated window");
|
||||
nUpdate();
|
||||
if ((isDirty() && isVisible()) || (isActive() && isVisible())) {
|
||||
|
||||
// We paint only when the window is visible, and either dirty or active.
|
||||
if (isVisible() && (isDirty() || isActive())) {
|
||||
Util.checkGLError();
|
||||
swapBuffers();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue