summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/openmax/MovieCube.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/openmax/MovieCube.java')
-rwxr-xr-xsrc/demos/es2/openmax/MovieCube.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java
index 6b53c6d..d992de1 100755
--- a/src/demos/es2/openmax/MovieCube.java
+++ b/src/demos/es2/openmax/MovieCube.java
@@ -185,13 +185,13 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen
tex=movie.getNextTextureID();
if(null!=tex) {
System.out.println("Use: "+tex);
- tex.enable();
- tex.bind();
+ tex.enable(gl);
+ tex.bind(gl);
}
}
cube.display(drawable);
if(null!=tex) {
- tex.disable();
+ tex.disable(gl);
}
}