dri2: Hard-code the DRI2 version
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 3 Jul 2012 18:15:00 +0000 (11:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 11 Jul 2012 15:54:50 +0000 (08:54 -0700)
This allows revising the dri_interface.h separately from adding driver
support.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/common/dri_util.c

index 53707a80dfc1b0a125d2a55da5c28a44e6848d3f..f9b2a73b256dcb789a26ea99ab7783c3f36ab32a 100644 (file)
@@ -554,7 +554,7 @@ const __DRIcoreExtension driCoreExtension = {
 
 /** DRI2 interface */
 const __DRIdri2Extension driDRI2Extension = {
-    { __DRI_DRI2, __DRI_DRI2_VERSION },
+    { __DRI_DRI2, 3 },
     dri2CreateNewScreen,
     dri2CreateNewDrawable,
     dri2CreateNewContext,