diff --git a/.pick_status.json b/.pick_status.json index b9d49ecc18e..64a33b6830c 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1444,7 +1444,7 @@ "description": "i965: don't forget to set screen on duped image", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 822393f6731..201a3b7e151 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -980,6 +980,7 @@ intel_dup_image(__DRIimage *orig_image, void *loaderPrivate) return NULL; brw_bo_reference(orig_image->bo); + image->screen = orig_image->screen; image->bo = orig_image->bo; image->internal_format = orig_image->internal_format; image->planar_format = orig_image->planar_format;