Cleanup
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user