mesa: Fix a division in _mesa_meta_draw_tex.
authorChia-I Wu <olvaffe@gmail.com>
Tue, 15 Sep 2009 10:40:24 +0000 (18:40 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 15 Sep 2009 10:44:38 +0000 (18:44 +0800)
commit705fed33eaf60341b6ebc7c0d202dab3f18543a8
tree50a7dd9b54a0210bb4f11208b87d30ebec52994a
parent4e547d5155d1943576cc6127e537f78fdb7c6ab7
mesa: Fix a division in _mesa_meta_draw_tex.

Both crop rectangle and texture dimensions are integers.  Cast to get
float division.
src/mesa/drivers/common/meta.c