aboutsummaryrefslogtreecommitdiffstats
path: root/src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java')
-rw-r--r--src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java b/src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java
index 22a88ab..f53bba6 100644
--- a/src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java
+++ b/src/ru/olamedia/olacraft/render/jogl/ChunkRenderer.java
@@ -1,8 +1,6 @@
package ru.olamedia.olacraft.render.jogl;
-import javax.media.opengl.GL;
import javax.media.opengl.GLAutoDrawable;
-import javax.media.opengl.GLContext;
import ru.olamedia.Options;
import ru.olamedia.geom.SimpleQuadMesh;
@@ -36,12 +34,13 @@ public class ChunkRenderer {
public boolean renderChunk(Chunk chunk, boolean skipnew) {
if (!chunk.isAvailable()) {
- // System.out.println("not available");
+ System.out.println("not available " + chunk);
chunk.request();
return skipnew;
}
if (!chunk.isNeighborsAvailable()) {
+ System.out.println("not available " + chunk);
chunk.requestNeighbors();
return skipnew;
}