Fix size test bug in _mesa_test_proxy_teximage().
authorBrian <brian.paul@tungstengraphics.com>
Sun, 8 Jul 2007 15:58:18 +0000 (09:58 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Sun, 8 Jul 2007 15:59:05 +0000 (09:59 -0600)
commitaa328291c5b015e74ebfd9c5cdb39227265b3000
tree71dbe151035c5df5e5a42337f8fff218c474b60c
parent37ece4df7c654b30b6720044b35a83694d7e5bb3
Fix size test bug in _mesa_test_proxy_teximage().

width/height/depth == 0 is a legal texture size (no error generated).
Later, the texture will be considered incomplete, however, and texturing
will effectively be disabled.
See bug 11309.
src/mesa/main/teximage.c