diff options
author | 2014-06-24 13:09:19 -0700 | |
---|---|---|
committer | 2014-06-24 13:09:19 -0700 | |
commit | e49ba8e2ed8e17156eb00c8fc8e2285df62bc018 (patch) | |
tree | 75c16e16f849b08d9f377c75bad708d6510e7388 /cmds/flatland/GLHelper.cpp | |
parent | b410863d6aae1e923ff163942adef01ff6a2ea81 (diff) |
GLConsumer: Stop using default constructor params
Removes the dependency on default constructor parameters for
GLConsumer so that a different constructor prototype can safely be
added.
Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680
Diffstat (limited to 'cmds/flatland/GLHelper.cpp')
-rw-r--r-- | cmds/flatland/GLHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/flatland/GLHelper.cpp b/cmds/flatland/GLHelper.cpp index 4b5aba9e7b..3155766a8f 100644 --- a/cmds/flatland/GLHelper.cpp +++ b/cmds/flatland/GLHelper.cpp @@ -205,7 +205,7 @@ bool GLHelper::createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, sp<IGraphicBufferConsumer> consumer; BufferQueue::createBufferQueue(&producer, &consumer, mGraphicBufferAlloc); sp<GLConsumer> glc = new GLConsumer(consumer, name, - GL_TEXTURE_EXTERNAL_OES, false); + GL_TEXTURE_EXTERNAL_OES, false, true); glc->setDefaultBufferSize(w, h); glc->setDefaultMaxBufferCount(3); glc->setConsumerUsageBits(GRALLOC_USAGE_HW_COMPOSER); |