st/dri: pass dri2_format_mapping directly to dri2_create_image_from_winsys
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 29 May 2019 20:56:30 +0000 (16:56 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Jul 2019 22:16:56 +0000 (15:16 -0700)
commit08fc14a97962ea2741956bf8fca90f659740db15
treec4f9a85a08efbec34e30afd1a14a8a6c391073ea
parent2cc85670a79194a4c89797f0942d9eef4455fb92
st/dri: pass dri2_format_mapping directly to dri2_create_image_from_winsys

this makes the entire struct available for use here

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/state_trackers/dri/dri2.c