Skip to content

Commit bcb14ce

Browse files
author
Teng-Hui Zhu
committed
Compiling issue fix since SurfTex header changed.
Change-Id: I7790626d287d4b44cd9d9fc9f902237b6d059678
1 parent be49703 commit bcb14ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/gui/SurfaceTexture.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@
1717
#ifndef ANDROID_GUI_SURFACETEXTURE_H
1818
#define ANDROID_GUI_SURFACETEXTURE_H
1919

20+
#include <GLES2/gl2ext.h>
2021
#include <ui/GraphicBuffer.h>
2122

2223
namespace android {
2324

2425
struct SurfaceTexture {
2526
struct FrameAvailableListener : public virtual RefBase {};
2627

27-
SurfaceTexture(GLuint, bool allowSynchronousMode = true) {}
28+
SurfaceTexture(GLuint, bool allowSynchronousMode = true,
29+
GLenum texTarget = GL_TEXTURE_EXTERNAL_OES) {}
2830
void updateTexImage() {}
2931
void decStrong(android::sp<android::SurfaceTexture>* const) {}
3032
void incStrong(android::sp<android::SurfaceTexture>* const) {}

0 commit comments

Comments
 (0)