From f81c168a7aac86af5e4741ea4c81b3ceba8d719e 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 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)