diff options
Diffstat (limited to 'cmds/screenrecord')
-rw-r--r-- | cmds/screenrecord/FrameOutput.cpp | 2 | ||||
-rw-r--r-- | cmds/screenrecord/Overlay.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmds/screenrecord/FrameOutput.cpp b/cmds/screenrecord/FrameOutput.cpp index 4da16bc..03e0062 100644 --- a/cmds/screenrecord/FrameOutput.cpp +++ b/cmds/screenrecord/FrameOutput.cpp @@ -71,7 +71,7 @@ status_t FrameOutput::createInputSurface(int width, int height, sp<IGraphicBufferConsumer> consumer; BufferQueue::createBufferQueue(&producer, &consumer); mGlConsumer = new GLConsumer(consumer, mExtTextureName, - GL_TEXTURE_EXTERNAL_OES); + GL_TEXTURE_EXTERNAL_OES, true, false); mGlConsumer->setName(String8("virtual display")); mGlConsumer->setDefaultBufferSize(width, height); mGlConsumer->setDefaultMaxBufferCount(5); diff --git a/cmds/screenrecord/Overlay.cpp b/cmds/screenrecord/Overlay.cpp index af84069..7fef53d 100644 --- a/cmds/screenrecord/Overlay.cpp +++ b/cmds/screenrecord/Overlay.cpp @@ -173,7 +173,7 @@ status_t Overlay::setup_l() { sp<IGraphicBufferConsumer> consumer; BufferQueue::createBufferQueue(&mProducer, &consumer); mGlConsumer = new GLConsumer(consumer, mExtTextureName, - GL_TEXTURE_EXTERNAL_OES); + GL_TEXTURE_EXTERNAL_OES, true, false); mGlConsumer->setName(String8("virtual display")); mGlConsumer->setDefaultBufferSize(width, height); mGlConsumer->setDefaultMaxBufferCount(5); |