mesa: fix type comparison errors in sub-texture error checking code 46/6246/1
authorTapani Pälli <tapani.palli@intel.com>
Thu, 18 Apr 2013 06:21:27 +0000 (09:21 +0300)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Apr 2013 12:47:44 +0000 (06:47 -0600)
commit12b0bfa6e92795b4f9c57950ce6c1986618b14b5
tree9d981347a982cc6a298fad4b0ea33d7ff6bca26d
parentc5e8573762e3f72d6fcfe7cc4056803ebea89c7c
mesa: fix type comparison errors in sub-texture error checking code

patch fixes a crash that happens if glTexSubImage2D is called with a
negative xoffset.

NOTE: This is a candidate for stable branches.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/teximage.c