List of usage examples for com.badlogic.gdx.graphics.glutils ShapeRenderer flush
public void flush()
From source file:com.meizu.taskmanager.ui.ScrollPane.java
License:Apache License
public void drawDebug(ShapeRenderer shapes) { shapes.flush(); applyTransform(shapes, computeTransform()); if (ScissorStack.pushScissors(scissorBounds)) { drawDebugChildren(shapes);// w w w . j a va2s . c o m ScissorStack.popScissors(); } resetTransform(shapes); }