From 77c988cf4e01cce948c25e09986aa05ed9bf6816 Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Fri, 29 Jul 2011 11:04:51 -0400 Subject: [PATCH] Adding an optional param to the SurfaceTexture constructor. Change-Id: I0fdbccf483a16af8039b85c0562f19a34ebce536 --- include/gui/SurfaceTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index 5a9e86f5f..946afb980 100644 --- a/include/gui/SurfaceTexture.h +++ b/include/gui/SurfaceTexture.h @@ -22,7 +22,7 @@ namespace android { struct SurfaceTexture { struct FrameAvailableListener : public virtual RefBase {}; - SurfaceTexture(GLuint) {} + SurfaceTexture(GLuint, bool allowSynchronousMode = true) {} void updateTexImage() {} void decStrong(android::sp* const) {} void incStrong(android::sp* const) {}