From 0e4afa1fb10c0ab0878b136a1c11ea27129c7e81 Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Fri, 29 Jul 2011 11:04:51 -0400 Subject: Adding an optional param to the SurfaceTexture constructor. Change-Id: I0fdbccf483a16af8039b85c0562f19a34ebce536 --- include/gui/SurfaceTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index 5a9e86f..946afb9 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) {} -- cgit v1.1