Skip to content
Commit 03ccb045 authored by Michal Srb's avatar Michal Srb Committed by Juan A. Suarez Romero
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 e79c931d
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