From 9ec4757b170b845ca4f7b99c5f27f8708de6661b Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Fri, 30 Sep 2011 16:09:22 -0700 Subject: [PATCH] Compiling issue fix since SurfTex header changed. Change-Id: I7790626d287d4b44cd9d9fc9f902237b6d059678 --- include/gui/SurfaceTexture.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index 706ec99a5..d7e8d2f14 100644 --- a/include/gui/SurfaceTexture.h +++ b/include/gui/SurfaceTexture.h @@ -17,6 +17,7 @@ #ifndef ANDROID_GUI_SURFACETEXTURE_H #define ANDROID_GUI_SURFACETEXTURE_H +#include #include namespace android { @@ -24,7 +25,8 @@ namespace android { struct SurfaceTexture { struct FrameAvailableListener : public virtual RefBase {}; - SurfaceTexture(GLuint, bool allowSynchronousMode = true) {} + SurfaceTexture(GLuint, bool allowSynchronousMode = true, + GLenum texTarget = GL_TEXTURE_EXTERNAL_OES) {} void updateTexImage() {} void decStrong(android::sp* const) {} void incStrong(android::sp* const) {}