mesa: fix UNCLAMPED_FLOAT_TO_UBYTE() macro for MSVC
authorBrian Paul <brianp@vmware.com>
Wed, 10 Sep 2014 14:16:24 +0000 (08:16 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 10 Sep 2014 22:37:54 +0000 (16:37 -0600)
commit9608193cbc6ea14e49adcd0193f9e7c6058d5a2f
tree16939c36948e555e0d6f2505359719c893f43d71
parent56d8cfd7a5d8861f9e238b8ec02527cae589a3b7
mesa: fix UNCLAMPED_FLOAT_TO_UBYTE() macro for MSVC

MSVC replaces the "F" in "255.0F" with the macro argument which leads
to an error.  s/F/FLT/ to avoid that.

It turns out we weren't using this macro at all on MSVC until the
recent "mesa: Drop USE_IEEE define." change.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/macros.h