Project

General

Profile

« Previous | Next » 

Revision cab7c165

Added by Leszek Koltunski about 7 years ago

Beginning of support for actual Transform Feedback.

View differences:

src/main/java/org/distorted/library/DistortedRenderState.java
124 124
      }
125 125
    }
126 126

  
127
///////////////////////////////////////////////////////////////////////////////////////////////////
128

  
129
  static void switchOffDrawing()
130
    {
131
    GLES30.glEnable(GLES30.GL_SCISSOR_TEST);
132
    GLES30.glScissor(0,0,0,0);
133
    }
134

  
135
///////////////////////////////////////////////////////////////////////////////////////////////////
136

  
137
  static void restoreDrawing()
138
    {
139
    GLES30.glDisable(GLES30.GL_SCISSOR_TEST);
140
    }
141

  
127 142
///////////////////////////////////////////////////////////////////////////////////////////////////
128 143

  
129 144
  void apply()

Also available in: Unified diff