st/mesa: remove some floating point divides in viewport calculation
authorKeith Whitwell <keithw@vmware.com>
Mon, 11 Jan 2010 16:15:37 +0000 (16:15 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 3 Feb 2010 10:36:55 +0000 (10:36 +0000)
commitaac76dcea95dc80663c78a5c20ec3723a010fd8b
tree4d3d968f9d3c3ccac4ac1dc15277205d6b3ff190
parentbd03025621b96ad5ad3136da6a30a5720aa7dc48
st/mesa: remove some floating point divides in viewport calculation

Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy
with either.
src/mesa/state_tracker/st_atom_viewport.c