From: Ian Romanick Date: Tue, 3 Jul 2012 18:15:00 +0000 (-0700) Subject: dri2: Hard-code the DRI2 version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de9ed5152533c87c21d27b71211a834b4c9767bc;p=mesa.git 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 --- 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,