From de9ed5152533c87c21d27b71211a834b4c9767bc Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 3 Jul 2012 11:15:00 -0700 Subject: dri2: Hard-code the DRI2 version This allows revising the dri_interface.h separately from adding driver support. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/common/dri_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 53707a80dfc..f9b2a73b256 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, -- cgit v1.2.3