List of usage examples for javax.microedition.khronos.opengles GL10 GL_SCISSOR_TEST
int GL_SCISSOR_TEST
To view the source code for javax.microedition.khronos.opengles GL10 GL_SCISSOR_TEST.
Click Source Link
From source file:com.watabou.noosa.Game.java
@Override public void onSurfaceCreated(GL10 gl, EGLConfig config) { GLES20.glEnable(GL10.GL_BLEND);//from w w w.j a v a2 s . c om GLES20.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); GLES20.glEnable(GL10.GL_SCISSOR_TEST); paused = false; SystemText.invalidate(); TextureCache.reload(); if (scene != null) { scene.resume(); } }