summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/dri2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
-rw-r--r--src/gallium/state_trackers/dri/dri2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c
index 11ce1978724..47b9f0f7393 100644
--- a/src/gallium/state_trackers/dri/dri2.c
+++ b/src/gallium/state_trackers/dri/dri2.c
@@ -896,8 +896,8 @@ dri2_create_image_from_fd(__DRIscreen *_screen,
int num_handles = mod_planes > 0 ? mod_planes : map->nplanes;
switch (fourcc) {
- case __DRI_IMAGE_FOURCC_YUYV:
- case __DRI_IMAGE_FOURCC_UYVY:
+ case DRM_FORMAT_YUYV:
+ case DRM_FORMAT_UYVY:
expected_num_fds = 1;
break;
default: