Skip to content
Commit 2b89e68a authored by Lepton Wu's avatar Lepton Wu Committed by Dylan Baker
Browse files

gallium: dri2: Use index as plane number.



This fix wrong color when playing video under Android + virgl
configuration.

Fixes: 2decad49 ("gallium/dri2: Support images with multiple planes for modifiers")
Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
Signed-off-by: default avatarLepton Wu <lepton@chromium.org>
(cherry picked from commit 5a40e153)
parent 9cbffed5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment