aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java')
-rwxr-xr-xsrc/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java b/src/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java
index d4b3be046..8c4b539d5 100755
--- a/src/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java
+++ b/src/classes/com/sun/opengl/util/glsl/fixed/FixedFuncHook.java
@@ -46,8 +46,8 @@ public class FixedFuncHook implements GLFixedFuncHookIf {
vertexColorFile, vertexColorLightFile, fragmentColorFile, fragmentColorTextureFile);
}
- public void dispose() {
- fixedFunction.release(gl);
+ public void destroy() {
+ fixedFunction.destroy(gl);
fixedFunction = null;
}