*** empty log message ***

This commit is contained in:
Caspian Rychlik-Prince 2004-04-04 13:19:54 +00:00
parent ee05436c65
commit 7c9f237563
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}