mesa: Fix error condition for valid texture targets in glTexStorage* functions
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 30 May 2014 21:55:28 +0000 (14:55 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 5 Aug 2014 00:10:48 +0000 (17:10 -0700)
commita94d78438d35cfde851596dff8461f1e739a0ddc
tree3fad672bd37de43c7464ab85db175422da253f5d
parent7b1898314709e3e70571c491f7f62745c05e13e1
mesa: Fix error condition for valid texture targets in glTexStorage* functions

Fixes gles3 Khronos CTS test: texture_storage_texture_targets

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/texstorage.c