isDirty support

This commit is contained in:
Brian Matzon 2004-02-04 21:43:24 +00:00
parent 75572ebcf6
commit 9125d03f62
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002 Lightweight Java Game Library Project
* Copyright (c) 2002-2004 Lightweight Java Game Library Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -205,6 +205,10 @@ public class MouseTest {
// pause and continue if minimized
if(Window.isMinimized()) {
if(Window.isDirty()) {
render();
Window.paint();
}
pause(100);
continue;
}