mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-10 08:54:01 +00:00
fix: static method usage
This commit is contained in:
parent
4283f40244
commit
80cf5b1dcc
13 changed files with 53 additions and 47 deletions
|
|
@ -97,17 +97,17 @@ public final class VBOTest {
|
|||
try {
|
||||
init();
|
||||
while (!finished) {
|
||||
gl.tick();
|
||||
Window.tick();
|
||||
|
||||
if (gl.isMinimized())
|
||||
if (Window.isMinimized())
|
||||
Thread.sleep(200);
|
||||
else if (gl.isCloseRequested())
|
||||
else if (Window.isCloseRequested())
|
||||
System.exit(0);
|
||||
|
||||
Keyboard.poll();
|
||||
mainLoop();
|
||||
render();
|
||||
gl.paint();
|
||||
Window.paint();
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue