Skip to content
Commit 0be61a9f authored by Michal Srb's avatar Michal Srb Committed by Dylan Baker
Browse files

st/dri: don't set queryDmaBufFormats/queryDmaBufModifiers if the driver does not implement it

This is equivalent to commit a65db0ad, but for dri_kms_init_screen. Without
this gbm_dri_is_format_supported always returns false.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104926


Fixes: e14fe41e ("st/dri: implement createImageFromRenderbuffer(2)")
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
Tested-by: default avatarAdam Williamson <adamwill@fedoraproject.org>
(cherry picked from commit 194bf0a2)
parent 59c708ff
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