This commit is contained in:
rnentjes
2014-01-17 12:45:34 +01:00
parent b2809fe52b
commit c44c578636

View File

@@ -163,18 +163,18 @@ public class Renderer implements GLEventListener {
timer.stop("compute"); timer.stop("compute");
timer.start("getGpuData");
explosionComputeHandler.getGpuData();
timer.stop("getGpuData");
timer.start("draw"); timer.start("draw");
explosionComputeHandler.render(); explosionComputeHandler.render();
timer.stop("draw"); timer.stop("draw");
timer.start("getGpuData");
explosionComputeHandler.getGpuData();
timer.stop("getGpuData");
timer.log(); timer.log();
if (lastLog < System.nanoTime() - TimeUnit.SECONDS.toNanos(1)) { if (lastLog < System.nanoTime() - TimeUnit.SECONDS.toNanos(1)) {