public void bufferReset(boolean state) {
        buffer.clear();
        buffer.setPaintListenerState(state);
        gameWorld.renderScene(buffer);
        gameWorld.draw(buffer);
        buffer.update();
        gameWorld.drawGraphForm(buffer, camera);
        buffer.displayGLOnly();
    }