mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 15:04:41 +00:00
Fixed a small glitch in the test conversion
This commit is contained in:
parent
ddabfaa81a
commit
ee05436c65
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue