i965: don't forget to set screen on duped image
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 2 Jun 2020 08:52:35 +0000 (11:52 +0300)
committerMarge Bot <eric+marge@anholt.net>
Thu, 4 Jun 2020 07:31:38 +0000 (07:31 +0000)
commite41e820648b1cb662cbe938c73d755331d48c6db
tree486623dc02c75c8c2961b558412dcba40a445104
parent604a86e46f67b517e43c4646080ee1993ff95ecd
i965: don't forget to set screen on duped image

We'll start using this field more for querying image properties.
Without it we run into a crash.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861>
src/mesa/drivers/dri/i965/intel_screen.c