aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java')
-rw-r--r--src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java b/src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java
index c5b85924d..1d33254c0 100644
--- a/src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java
+++ b/src/classes/com/sun/opengl/impl/glsl/fixed/FixedFuncPipeline.java
@@ -53,12 +53,12 @@ public class FixedFuncPipeline {
return name;
}
- public void release(GL2ES2 gl) {
- shaderState.release(gl);
+ public void destroy(GL2ES2 gl) {
shaderProgramColor.release(gl, true);
shaderProgramColorLight.release(gl, true);
shaderProgramColorTexture.release(gl, true);
shaderProgramColorTextureLight.release(gl, true);
+ shaderState.destroy(gl);
}
public void glEnableClientState(GL2ES2 gl, int glArrayIndex) {