getteximage: fix _mesa_GetTextureSubImage()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 6 Mar 2017 20:33:28 +0000 (21:33 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 6 Mar 2017 20:36:56 +0000 (21:36 +0100)
commit4317cd96d3022ad0ef7e1d5ffa82f5c2693bb44e
tree0edf52bcce00a782823eb148ed9cc79070079c41
parentff494fe999510ea40e3ed5827e7818550b6de126
getteximage: fix _mesa_GetTextureSubImage()

Oops.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100088
Fixes: 5ae54c0cf7 ("getteximage: avoid to lookup textures with id 0")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/texgetimage.c