Merge "Fix a compiling error when trying to use setBufferCount"

This commit is contained in:
Jean-Baptiste Queru 2011-08-02 17:02:48 -07:00 committed by Android Code Review
commit 8fdba3dd72

View File

@ -30,6 +30,7 @@ struct SurfaceTexture {
void setFrameAvailableListener(const sp<FrameAvailableListener>&) {} void setFrameAvailableListener(const sp<FrameAvailableListener>&) {}
void setSynchronousMode(bool) {} void setSynchronousMode(bool) {}
GLenum getCurrentTextureTarget() const { return 0; } GLenum getCurrentTextureTarget() const { return 0; }
void setBufferCount(int bufferCount) {}
}; };
static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)