d3dx9: CloneMesh test and improvements
octavian.voicu at gmail.com
Fri Aug 12 06:06:00 CDT 2011
On Fri, Aug 12, 2011 at 12:59 PM, Michael Mc Donnell
<michael at mcdonnell.dk>wrote:
> Is it ok to use roundf and rintf? They're both C99 functions.
As far as I know C99 is not allowed. However, you can emulate round by
floorf(val + 0.5f)
According to  floorf is C99 (only floor is C89), but including math.h in
wine actually gives you msvcrt's math.h which is a bit different and doesn't
even have round nor rint. Gdiplus uses floorf  so it should be OK.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel