This and the following patch are in no error paths. The result cannot be
NULL unless the function is being used incorrectly. I would rather this
be left as to segfault than to fail silently.
On 15/06/17 02:33, Plamena Manolova wrote:
In prepare_target it's plausible that the parameters of
_mes
In prepare_target it's plausible that the parameters of
_mesa_lookup_texture might be invalid and NULL is returned,
so we need a NULL pointer check.
CID: 1412566
Signed-off-by: Plamena Manolova
---
src/mesa/main/copyimage.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git