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 /src/mesa/drivers/dri/intel/intel_tex_image.c | |
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 'src/mesa/drivers/dri/intel/intel_tex_image.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index 7d33df35998..b1ed7ee5e73 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_image.c +++ b/src/mesa/drivers/dri/intel/intel_tex_image.c @@ -805,8 +805,8 @@ intel_image_target_texture_2d(GLcontext *ctx, GLenum target, __DRIimage *image; screen = intel->intelScreen->driScrnPriv; - image = screen->dri2.image->lookupEGLImage(intel->driContext, image_handle, - intel->driContext->loaderPrivate); + image = screen->dri2.image->lookupEGLImage(screen, image_handle, + screen->loaderPrivate); if (image == NULL) return; |