Skip to content

Commit dd79adf

Browse files
committed
Have an actual main loop
1 parent a72e8cf commit dd79adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/crafter/Main.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void main(String[] args) {
3838
Chunk testChunk = new Chunk(0,0);
3939

4040

41-
while(Window.shouldClose()) {
41+
while(!Window.shouldClose()) {
4242
Window.pollEvents();
4343

4444
Window.clearAll();

0 commit comments

Comments
 (0)