From c84235ee0d9940e6a779ec306e615603b58a79f2 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 12 Mar 2012 10:45:03 +0100 Subject: Synchronised files with mesa --- gl/internal/dri_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gl/internal/dri_interface.h') diff --git a/gl/internal/dri_interface.h b/gl/internal/dri_interface.h index b4eae98ba..af3a42ad7 100644 --- a/gl/internal/dri_interface.h +++ b/gl/internal/dri_interface.h @@ -898,7 +898,7 @@ struct __DRIdri2ExtensionRec { * extensions. */ #define __DRI_IMAGE "DRI_IMAGE" -#define __DRI_IMAGE_VERSION 2 +#define __DRI_IMAGE_VERSION 3 /** * These formats correspond to the similarly named MESA_FORMAT_* @@ -922,6 +922,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_ATTRIB_STRIDE 0x2000 #define __DRI_IMAGE_ATTRIB_HANDLE 0x2001 #define __DRI_IMAGE_ATTRIB_NAME 0x2002 +#define __DRI_IMAGE_ATTRIB_FORMAT 0x2003 /* available in versions 3+ */ typedef struct __DRIimageRec __DRIimage; typedef struct __DRIimageExtensionRec __DRIimageExtension; -- cgit v1.2.3