diff options
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 89eb95fd92..3928039505 100644 --- a/cmds/flatland/GLHelper.cpp +++ b/cmds/flatland/GLHelper.cpp @@ -198,7 +198,7 @@ bool GLHelper::getShaderProgram(const char* name, GLuint* outPgm) { bool GLHelper::createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, sp<GLConsumer>* glConsumer, EGLSurface* surface) { - sp<BufferQueue> bq = new BufferQueue(true, mGraphicBufferAlloc); + sp<BufferQueue> bq = new BufferQueue(mGraphicBufferAlloc); sp<GLConsumer> glc = new GLConsumer(bq, name, GL_TEXTURE_EXTERNAL_OES, false); glc->setDefaultBufferSize(w, h); |