From 311ffe37a5ebe79a888509211584bffb5a2eb7ce Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 11 Aug 2011 11:56:59 -0700 Subject: [PATCH] added stub for getting buffer from surface texture Change-Id: If61153cacdd8027848f40f8d9035f7c4aead0a98 --- include/gui/SurfaceTexture.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index ec62b96d451c3..140fbed2bce93 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)