Skip to content

Commit b7ed847

Browse files
drWulfAndroid Git Automerger
authored andcommitted
am 01caec8: Merge "Adding an optional param to the SurfaceTexture constructor."
* commit '01caec8c4165a6cce2f276f8016b9eadab966944': Adding an optional param to the SurfaceTexture constructor.
2 parents 5a27a75 + 01caec8 commit b7ed847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/gui/SurfaceTexture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace android {
2222
struct SurfaceTexture {
2323
struct FrameAvailableListener : public virtual RefBase {};
2424

25-
SurfaceTexture(GLuint) {}
25+
SurfaceTexture(GLuint, bool allowSynchronousMode = true) {}
2626
void updateTexImage() {}
2727
void decStrong(android::sp<android::SurfaceTexture>* const) {}
2828
void incStrong(android::sp<android::SurfaceTexture>* const) {}

0 commit comments

Comments
 (0)