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) {}