Code example for GL10

Methods: glLoadMatrixx

0
    @Override 
	public void glLoadMatrixx(IntBuffer m) {
        int position = m.position();
        mCurrent.glLoadMatrixx(m);
        m.position(position);
        mgl.glLoadMatrixx(m);
        if ( _check) check();
    } 
 
    @Override 
	public void glMatrixMode(int mode) {
        switch (mode) {
        case GL10.GL_MODELVIEW:
            mCurrent = mModelView;
            break; 
        case GL10.GL_TEXTURE:
            mCurrent = mTexture;
            break; 
        case GL10.GL_PROJECTION:
            mCurrent = mProjection;
            break;