diff options
author | Eric Anholt <eric@anholt.net> | 2013-11-14 17:40:46 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-05 10:50:53 -0800 |
commit | 6e926b18ca1b182253bac435a1d53caaff7ffff6 (patch) | |
tree | 1511c4fa1e36f634c6cf761d04863aa82ebaaa18 /glx/glxdriswrast.c | |
parent | 57a8ce927332e855dd29ff30210a211a907adb25 (diff) |
glx: Fix incorrect use of dri_interface.h version defines in extensions.
Those defines are so you can compile-time check "do I have a
dri_interface.h that defines this new field of the struct?" You don't
want the server to claim it implements the new struct just because you
installed a new copy of Mesa.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r-- | glx/glxdriswrast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index c9962dc81..aa083e053 100644 --- a/glx/glxdriswrast.c +++ b/glx/glxdriswrast.c @@ -386,7 +386,7 @@ swrastGetImage(__DRIdrawable * draw, } static const __DRIswrastLoaderExtension swrastLoaderExtension = { - {__DRI_SWRAST_LOADER, __DRI_SWRAST_LOADER_VERSION}, + {__DRI_SWRAST_LOADER, 1}, swrastGetDrawableInfo, swrastPutImage, swrastGetImage |