wined3d: Reimplement wined3d_ftoa().
commit12f16f2127ffce9a05eedf008c3aa3732751a7e3
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 22 Nov 2013 09:45:00 +0000 (22 10:45 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 22 Nov 2013 10:37:02 +0000 (22 11:37 +0100)
treec2cc1e21b9c0b4329865355c864f117bbaf9a985
parent5f15a5633c338352aed17474eaa9acec2fe07a1d
wined3d: Reimplement wined3d_ftoa().

The current implementation is not precise enough when the FPU is in REAL4
mode, which also happens to be the mode d3d9 sets by default. Doing the same
thing with integer math is a huge pain, so just replace the decimal separator
instead.
dlls/wined3d/utils.c