mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
dri: Stop answering DRI_IMAGE_ATTRIB_FORMAT
External users only care about FourCC, and they can already query that directly. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30245>
This commit is contained in:
parent
d6bce728de
commit
3cd654b88a
1 changed files with 0 additions and 3 deletions
|
|
@ -1293,9 +1293,6 @@ static bool
|
|||
dri2_query_image_common(__DRIimage *image, int attrib, int *value)
|
||||
{
|
||||
switch (attrib) {
|
||||
case __DRI_IMAGE_ATTRIB_FORMAT:
|
||||
*value = image->dri_format;
|
||||
return true;
|
||||
case __DRI_IMAGE_ATTRIB_WIDTH:
|
||||
*value = image->texture->width0;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue