vulkan/wsi/x11: fix ARGB window support
authorFredrik Höglund <fredrik@kde.org>
Fri, 21 Oct 2016 17:07:36 +0000 (19:07 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2016 02:40:39 +0000 (12:40 +1000)
commit972670c2007c1c5a51b4f0876d31476858f79351
treec4eb6f5aa892912f0134f238f94da260716796d1
parent0a153f4ee472f8f17575bbfe05f1c96fb5ecf1ea
vulkan/wsi/x11: fix ARGB window support

Pass the correct depth to xcb_dri3_pixmap_from_buffer_checked().
Otherwise xcb_present_pixmap() fails with a BadMatch error.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/vulkan/wsi/wsi_common_x11.c