gallium/dri: fix dri2_from_names
The createImageFromNames
interface uses fourcc, not dri_image_formats.
Closes: #8547 (closed)
Fixes: 433ca312 ("st/dri: replace format conversion functions with single mapping table")
The createImageFromNames
interface uses fourcc, not dri_image_formats.
Closes: #8547 (closed)
Fixes: 433ca312 ("st/dri: replace format conversion functions with single mapping table")