Mesa (master): dri2: Hard-code the DRI2 version
Ian Romanick
idr at kemper.freedesktop.org
Wed Jul 11 16:06:52 UTC 2012
Module: Mesa
Branch: master
Commit: de9ed5152533c87c21d27b71211a834b4c9767bc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de9ed5152533c87c21d27b71211a834b4c9767bc
Author: Ian Romanick <ian.d.romanick at intel.com>
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 <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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,
More information about the mesa-commit
mailing list