aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:18:30 +0100
committerSven Gothel <[email protected]>2010-11-06 06:18:30 +0100
commit55cbf76d34b5485c15cb77de1e6efc85d60a1eb1 (patch)
treec640c2f43c60e11f97ad917bfebbadccd4540bec /src/jogl/classes/com
parent8df147c4a1d7e2e5d63416a1bee979be858440d0 (diff)
Complete 1be7b5271ec1d08b6929a88dd811754d33d149de, EGL_KHR_fence_sync ..
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/openmax/OMXInstance.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/openmax/OMXInstance.java b/src/jogl/classes/com/jogamp/openmax/OMXInstance.java
index 97f07da1c..d49eeb8e6 100644
--- a/src/jogl/classes/com/jogamp/openmax/OMXInstance.java
+++ b/src/jogl/classes/com/jogamp/openmax/OMXInstance.java
@@ -212,9 +212,9 @@ public class OMXInstance {
// rendering the EGLImage texture before we tell OpenMAX to fill
// it with a new frame.
tmp[0] = EGL.EGL_NONE;
- sync = eglExt.eglCreateFenceSyncKHR(
+ sync = eglExt.eglCreateSyncKHR(
eglDisplay,
- eglExt.EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR, tmp, 0);
+ eglExt.EGL_SYNC_FENCE_KHR, tmp, 0);
_setStreamEGLImageTexture2D(moviePtr, i, tex, image, sync);
@@ -450,7 +450,7 @@ public class OMXInstance {
eglImgTexs[i].image);
}
if(0!=eglImgTexs[i].sync) {
- eglExt.eglDestroySyncKHR(eglImgTexs[i].sync);
+ eglExt.eglDestroySyncKHR(eglDisplay, eglImgTexs[i].sync);
}
if(null!=gl) {
eglImgTexs[i].texture.destroy(gl);