diff options
author | Kristian Høgsberg <[email protected]> | 2010-09-22 22:01:17 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-09-22 22:02:05 -0400 |
commit | 17eace581d25a626a7d75d9d1205d012cbb14a6e (patch) | |
tree | 743e51cafdb23f5a59cec7813642296c5bcd04ed /include/GL | |
parent | 1c2423999e35576bebd7962a907507a81eb79b07 (diff) |
dri: Pass the __DRIscreen and the __DRIscreen private back to image lookup
We will typically have a current context when we need to lookup the image,
but the lookup implementation don't need it so drop it.
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 5351a2ba4ab..9ee039bd90b 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -841,7 +841,7 @@ typedef struct __DRIimageLookupExtensionRec __DRIimageLookupExtension; struct __DRIimageLookupExtensionRec { __DRIextension base; - __DRIimage *(*lookupEGLImage)(__DRIcontext *context, void *image, + __DRIimage *(*lookupEGLImage)(__DRIscreen *screen, void *image, void *loaderPrivate); }; |