Commit f691cfab by John Bauman Committed by Commit Bot

Fix eglStreamConsumerAcquireKHR

This was incorrectly acquiring every plane to texture 0. BUG=angleproject:1332 Change-Id: I6df1401b705d903078e2631634b6bf20a07570de Reviewed-on: https://chromium-review.googlesource.com/342513Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: John Bauman <jbauman@chromium.org>
parent 8415b5fd
...@@ -191,7 +191,7 @@ Error Stream::consumerAcquire() ...@@ -191,7 +191,7 @@ Error Stream::consumerAcquire()
{ {
if (mPlanes[i].texture != nullptr) if (mPlanes[i].texture != nullptr)
{ {
mPlanes[0].texture->acquireImageFromStream( mPlanes[i].texture->acquireImageFromStream(
mProducerImplementation->getGLFrameDescription(i)); mProducerImplementation->getGLFrameDescription(i));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment