From c6ca43176dc30b4c3175cfeedb3dd7ec4c8d4202 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Tue, 2 Aug 2011 16:26:41 -0700 Subject: Fix a compiling error when trying to use setBufferCount Change-Id: I1aefaf7ec111340a584e0beeeea60b845e16bb1f --- include/gui/SurfaceTexture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index 946afb9..ec62b96 100644 --- a/include/gui/SurfaceTexture.h +++ b/include/gui/SurfaceTexture.h @@ -30,6 +30,7 @@ struct SurfaceTexture { void setFrameAvailableListener(const sp&) {} void setSynchronousMode(bool) {} GLenum getCurrentTextureTarget() const { return 0; } + void setBufferCount(int bufferCount) {} }; static sp SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) -- cgit v1.1