Module: Mesa
Branch: master
Commit: de9ed5152533c87c21d27b71211a834b4c9767bc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=de9ed5152533c87c21d27b71211a834b4c9767bc

Author: Ian Romanick <[email protected]>
Date:   Tue Jul  3 11:15:00 2012 -0700

dri2: Hard-code the DRI2 version

This allows revising the dri_interface.h separately from adding driver
support.

Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>

---

 src/mesa/drivers/dri/common/dri_util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/common/dri_util.c 
b/src/mesa/drivers/dri/common/dri_util.c
index 53707a8..f9b2a73 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -554,7 +554,7 @@ const __DRIcoreExtension driCoreExtension = {
 
 /** DRI2 interface */
 const __DRIdri2Extension driDRI2Extension = {
-    { __DRI_DRI2, __DRI_DRI2_VERSION },
+    { __DRI_DRI2, 3 },
     dri2CreateNewScreen,
     dri2CreateNewDrawable,
     dri2CreateNewContext,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to