diff options
author | Richard Grenville <[email protected]> | 2013-09-15 08:56:53 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-09-15 08:56:53 +0800 |
commit | 9c609b9b97eee09e975d96082ffab32543258251 (patch) | |
tree | 2fd93864474c5d1f077f47e0b50967951c6cfe54 /opengl.h | |
parent | 631f50d665057a034d4cd22b49e030d1913ab79a (diff) | |
download | tdebase-9c609b9b97eee09e975d96082ffab32543258251.tar.gz tdebase-9c609b9b97eee09e975d96082ffab32543258251.zip |
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.
Diffstat (limited to 'opengl.h')
-rw-r--r-- | opengl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ #include "common.h" #include <ctype.h> +#include <locale.h> #ifdef DEBUG_GLX_ERR |