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