From 25132f61b59fbf4cba2be6652c0655fe13435eb8 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 7 Aug 2012 08:38:42 +0200 Subject: synchronised files --- gl/internal/dri_interface.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gl/internal') diff --git a/gl/internal/dri_interface.h b/gl/internal/dri_interface.h index bcdd7f605..9aef95860 100644 --- a/gl/internal/dri_interface.h +++ b/gl/internal/dri_interface.h @@ -916,7 +916,7 @@ struct __DRIdri2ExtensionRec { * extensions. */ #define __DRI_IMAGE "DRI_IMAGE" -#define __DRI_IMAGE_VERSION 4 +#define __DRI_IMAGE_VERSION 5 /** * These formats correspond to the similarly named MESA_FORMAT_* @@ -950,6 +950,8 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_ATTRIB_HANDLE 0x2001 #define __DRI_IMAGE_ATTRIB_NAME 0x2002 #define __DRI_IMAGE_ATTRIB_FORMAT 0x2003 /* available in versions 3+ */ +#define __DRI_IMAGE_ATTRIB_WIDTH 0x2004 /* available in versions 5+ */ +#define __DRI_IMAGE_ATTRIB_HEIGHT 0x2005 typedef struct __DRIimageRec __DRIimage; typedef struct __DRIimageExtensionRec __DRIimageExtension; -- cgit v1.2.3