Example usage for com.badlogic.gdx.graphics.glutils ShapeRenderer flush

List of usage examples for com.badlogic.gdx.graphics.glutils ShapeRenderer flush

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics.glutils ShapeRenderer flush.

Prototype

public void flush() 

Source Link

Usage

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);
}