[PATCH 1/1] wined3d: Explicitly use the C locale for generating shaders.

Alexandre Julliard julliard at winehq.org
Mon Jun 10 06:34:57 CDT 2013

Henri Verbeet <hverbeet at gmail.com> writes:

> On 10 June 2013 12:40, Alexandre Julliard <julliard at winehq.org> wrote:
>> Henri Verbeet <hverbeet at codeweavers.com> writes:
>>> Specifically, we always want to use '.' as decimal separator. Reported on IRC.
>> That's not very portable:
> POSIX.1-2008, supposedly. I'm not aware of a more portable way to do
> this, although I could add wrappers to just do nothing when these are
> not available, if that helps.

Writing a helper function to format floats in a non locale-dependent way
would probably be a better idea.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list