diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-09-22 15:07:15 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-09-22 15:08:22 -0400 |
commit | 9ec0b2a45e18c045fd3dbcdf846fad7faf97494c (patch) | |
tree | f31b9a5524a36ba7c403f4811c5abb665790d78b /include/GL | |
parent | f060ae9ab6492446dbaf4d55665822c11a72d509 (diff) | |
download | external_mesa3d-9ec0b2a45e18c045fd3dbcdf846fad7faf97494c.zip external_mesa3d-9ec0b2a45e18c045fd3dbcdf846fad7faf97494c.tar.gz external_mesa3d-9ec0b2a45e18c045fd3dbcdf846fad7faf97494c.tar.bz2 |
dri2: Make createImageFromName() take a __DRIscreen instead of __DRIcontext
We can't expect to have a context when this is called, and we don't need one
so just require a __DRIscreen instead.
Reported by Yu Dai <yu.dai@intel.com>
Diffstat (limited to 'include/GL')
-rw-r--r-- | include/GL/internal/dri_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index ff83ff1..5351a2b 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -805,7 +805,7 @@ typedef struct __DRIimageExtensionRec __DRIimageExtension; struct __DRIimageExtensionRec { __DRIextension base; - __DRIimage *(*createImageFromName)(__DRIcontext *context, + __DRIimage *(*createImageFromName)(__DRIscreen *screen, int width, int height, int format, int name, int pitch, void *loaderPrivate); |