st/dri: don't expose modifiers in EGL if the driver doesn't implement them
authorMarek Olšák <marek.olsak@amd.com>
Wed, 27 Sep 2017 14:53:26 +0000 (16:53 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 27 Sep 2017 15:59:50 +0000 (17:59 +0200)
commita65db0ad1c3ace58fbc81b6860e28c0a7645257c
tree5238972b80b64a68c2a7b446ce0d9d5a9126bdc6
parent4fe3913b9699ac929715b16ecbf5b93fe87ce4ee
st/dri: don't expose modifiers in EGL if the driver doesn't implement them

This unbreaks waffle/gbm (piglit/gbm) which fails initialization.

v2: also don't set queryDmaBufFormats

Reviewed-by: Daniel Stone <daniel@fooishbar.org>
src/gallium/state_trackers/dri/dri2.c