diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index ec62b96d4..140fbed2b 100644 --- a/include/gui/SurfaceTexture.h +++ b/include/gui/SurfaceTexture.h @@ -31,6 +31,7 @@ struct SurfaceTexture { void setSynchronousMode(bool) {} GLenum getCurrentTextureTarget() const { return 0; } void setBufferCount(int bufferCount) {} + sp getCurrentBuffer() const { return NULL; } }; static sp SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)