v0.4.2: reintroduced scissoring, now only used when its needed

This commit is contained in:
Evan Debenham
2016-09-08 20:13:40 -04:00
parent 275dcf8863
commit 23ac0135f3
4 changed files with 22 additions and 5 deletions

View File

@@ -217,6 +217,7 @@ public class Game extends Activity implements GLSurfaceView.Renderer, View.OnTou
NoosaScript.get().resetCamera();
NoosaScriptNoLighting.get().resetCamera();
GLES20.glDisable( GLES20.GL_SCISSOR_TEST );
GLES20.glClear( GLES20.GL_COLOR_BUFFER_BIT );
draw();
}