diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index f5f9ea714..5a9e86f5f 100644 --- a/include/gui/SurfaceTexture.h +++ b/include/gui/SurfaceTexture.h @@ -29,6 +29,7 @@ struct SurfaceTexture { void getTransformMatrix(float mtx[16]) {} void setFrameAvailableListener(const sp&) {} void setSynchronousMode(bool) {} + GLenum getCurrentTextureTarget() const { return 0; } }; static sp SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)