Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 917a3b34 authored by Jamie Gennis's avatar Jamie Gennis
Browse files

SurfaceTexture: remove call to doGLFenceWait

This call is no longer needed as the default behavior of the native
SurfaceTexture class is to do the wait whenever updateTexImage is called.

Change-Id: I995686a5989409e21b00fac913bd33c11f806998
parent 494ac35c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -223,10 +223,6 @@ static void SurfaceTexture_updateTexImage(JNIEnv* env, jobject thiz)
    } else if (err < 0) {
        jniThrowRuntimeException(env, "Error during updateTexImage (see logcat for details)");
    }
    err = surfaceTexture->doGLFenceWait();
    if (err != NO_ERROR) {
        jniThrowRuntimeException(env, "Error waiting for fence (see logcat for details)");
    }
}

static jint SurfaceTexture_detachFromGLContext(JNIEnv* env, jobject thiz)