diff options
author | Kristian Høgsberg <[email protected]> | 2010-09-22 15:07:15 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-09-22 15:08:22 -0400 |
commit | 9ec0b2a45e18c045fd3dbcdf846fad7faf97494c (patch) | |
tree | f31b9a5524a36ba7c403f4811c5abb665790d78b /include | |
parent | f060ae9ab6492446dbaf4d55665822c11a72d509 (diff) |
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 <[email protected]>
Diffstat (limited to 'include')
-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 ff83ff145e7..5351a2ba4ab 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); |