From 01febf756ccf6ffd8a8a0a16a465f755c32fc2de Mon Sep 17 00:00:00 2001 From: Frank Binns Date: Fri, 2 Feb 2018 16:59:52 +0000 Subject: [PATCH] dri: add missing __DRI_IMAGE_COMPONENTS define for EGL_TEXTURE_EXTERNAL_WL The __DRI_IMAGE_COMPONENTS defines have been re-ordered, to make it less likely that new defines will be added with the same values as existing ones. --- include/GL/internal/dri_interface.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 62517e4..6490f6e 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1461,11 +1461,12 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_COMPONENTS_Y_U_V 0x3003 #define __DRI_IMAGE_COMPONENTS_Y_UV 0x3004 #define __DRI_IMAGE_COMPONENTS_Y_XUXV 0x3005 +#define __DRI_IMAGE_COMPONENTS_R 0x3006 +#define __DRI_IMAGE_COMPONENTS_RG 0x3007 #define __DRI_IMAGE_COMPONENTS_Y_UXVX 0x3008 #define __DRI_IMAGE_COMPONENTS_AYUV 0x3009 #define __DRI_IMAGE_COMPONENTS_XYUV 0x300A -#define __DRI_IMAGE_COMPONENTS_R 0x3006 -#define __DRI_IMAGE_COMPONENTS_RG 0x3007 +#define __DRI_IMAGE_COMPONENTS_EXTERNAL 0x300B /**