diff options
author | Ian Romanick <[email protected]> | 2012-07-03 11:15:00 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-07-11 08:54:50 -0700 |
commit | de9ed5152533c87c21d27b71211a834b4c9767bc (patch) | |
tree | e3ccd13632bf8654e61fa005363c394f6451fc59 /src/mesa/drivers/dri/common | |
parent | 2879f758b5b0d996566744f89c3d9badeb75ef24 (diff) |
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]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | 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 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, |