Bug fix #143: GLSL shader error on European locales

Set LC_NUMERIC=C when generating GLSL shader strings to avoid decimal
point issues on European locales. Thanks to hiciu for reporting.
This commit is contained in:
Richard Grenville
2013-09-15 08:56:53 +08:00
parent 5da802634a
commit 926ae379ba
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include "common.h"
#include <ctype.h>
#include <locale.h>
#ifdef DEBUG_GLX_ERR