Code example for GL11

Methods: glScissor

0
mGL.glScissor(x, y, width, height);
    } 
 
    public void clearClip() { 
        mGL.glScissor(0, 0, getWidth(), getHeight());
    } 
 
    private static float[] toGLMatrix(float[] v) {
        v[15] = v[8];
        v[13] = v[5];
        v[5] = v[4];
        v[4] = v[1];
        v[12] = v[2];
        v[1] = v[3];
        v[3] = v[6];
        v[2] = 0;
        v[6] = 0;
        v[8] = 0;
        v[9] = 0;