mesa: reverse no_error on compressed_tex_sub_image for TEX_MODE_CURRENT
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Tue, 20 Aug 2019 16:34:09 +0000 (18:34 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Tue, 20 Aug 2019 19:45:21 +0000 (20:45 +0100)
commit6c904773fe31731929ad46ea19a58deedfc1c1c7
tree67613e217da5814566901bc068e98bbd90340940
parentb2839193987ff20438a52d124001f3b310c32315
mesa: reverse no_error on compressed_tex_sub_image for TEX_MODE_CURRENT

This fixes the regression introduced on "mesa: refactor
compressed_tex_sub_image function" that started to crash
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_tex_sub_image

Fixes: 7df233d68dc ("mesa: refactor compressed_tex_sub_image function")
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/teximage.c