Exemple #1
0
 @Override
 public void release() {
   super.release();
   this.finalizeShaderProgram();
 }
Exemple #2
0
 @Override
 protected void initializeShaderProgram() throws OpenGlException {
   this.mSimpleColorInGLSL = GLES20.glGetUniformLocation(this.mShaderProgram, "simpleColor");
   ExtendedGlSurfaceView.checkGlErrorWithException();
   super.initializeShaderProgram();
 }