mesa: fix return value when clipping {Read,Draw}Pixels height <= 0
authorBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 17:10:31 +0000 (11:10 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 17:10:31 +0000 (11:10 -0600)
commita8768bbc9de1441384cecc147d51c9ee6431b924
tree02caa9c030032ae3541ee622a8e470ee5ba25df8
parenta15d9ca9ccfeebfcea148fc61ead3a70541e2a76
mesa: fix return value when clipping {Read,Draw}Pixels height <= 0

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
(cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
src/mesa/main/image.c