Fixed a small glitch in the test conversion
This commit is contained in:
parent
ddabfaa81a
commit
ee05436c65
|
@ -123,7 +123,7 @@ public class PbufferTest {
|
|||
*/
|
||||
private void mainLoop() {
|
||||
while (!Keyboard.isKeyDown(Keyboard.KEY_ESCAPE) && !Window.isCloseRequested()) {
|
||||
if (!Window.isVisible()) {
|
||||
if (Window.isVisible()) {
|
||||
// check keyboard input
|
||||
processKeyboard();
|
||||
// do "game" logic, and render it
|
||||
|
|
Loading…
Reference in New Issue