Re: wined3d: Ensure wined3d_ftoa() exponent is 2 digits on Windows.
14 Dec
2013
14 Dec
'13
4:32 a.m.
On 14 December 2013 06:28, Jonathan Liu <net147(a)gmail.com> wrote:
This fixes a regression introduced by commit 12f16f2127ffce9a05eedf008c3aa3732751a7e3 where the returned exponent is 3 digits on Windows instead of 2 digits which results in rendering errors. The printf implementation in the Microsoft Visual C runtime uses three digits for the exponent by default.
If the issue here is that the buffers the callers pass are too small, I think that's what should be fixed, perhaps with a comment added to wined3d_ftoa(). Ideally we wouldn't use fixed size buffers there to begin with though.
4382
Age (days ago)
4382
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet