prevColor = prevNorms = prevVerts = null; Arrays.fill(prevTex, null); Renderer.clearCurrentStates();
reset();
    public void displayBackBuffer() {        renderQueue();        if (Renderer.getCurrentState(RenderState.RS_ZBUFFER) != null                && !((ZBufferState) Renderer                .getCurrentState(RenderState.RS_ZBUFFER)).isWritable()) {            if (Renderer.defaultStateList[RenderState.RS_ZBUFFER] != null)                Renderer.defaultStateList[RenderState.RS_ZBUFFER].apply();            Renderer.clearCurrentState(RenderState.RS_ZBUFFER);        }        GL11.glColorMask(true, true, true, true);                    prevColor = prevNorms = prevVerts = null;        Arrays.fill(prevTex, null);        Renderer.clearCurrentStates();        GL11.glFlush();        if (!isHeadless())            Display.update();                vboMap.expunge();    }