mesa: don't allocate a texture if width or height is 0 in CopyTexImage
authorMarek Olšák <maraeo@gmail.com>
Mon, 4 Mar 2013 12:26:51 +0000 (13:26 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 11 Mar 2013 12:44:14 +0000 (13:44 +0100)
commit4b69c1a92d4e1a03377a91548e0a99c3cf3dfea1
treeb5a9162e4afdcc4bcf9b56aae6052644f2b0a2fb
parent68ed4c9c89fd299ebc02dff3fa9938c797f417da
mesa: don't allocate a texture if width or height is 0 in CopyTexImage

NOTE: This is a candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/teximage.c