diff options
author | Brian Paul <[email protected]> | 2010-12-13 08:41:08 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-12-14 12:38:38 -0700 |
commit | bb10e081c8ddc452bca44ba583f239219a5b9372 (patch) | |
tree | 5aaaf091bb32aef3d04cca04cc9acac07f85c2c6 /src/glsl/s_expression.h | |
parent | dfbc20593ec89ef5ddcb0dba3b05ea95e296861e (diff) |
glsl: new glsl_strtod() wrapper to fix decimal point interpretation
We always want to use '.' as the decimal point.
See http://bugs.freedesktop.org/show_bug.cgi?id=24531
NOTE: this is a candidate for the 7.10 branch.
Diffstat (limited to 'src/glsl/s_expression.h')
-rw-r--r-- | src/glsl/s_expression.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/s_expression.h b/src/glsl/s_expression.h index aa22475a1bf..29d800e394a 100644 --- a/src/glsl/s_expression.h +++ b/src/glsl/s_expression.h @@ -26,6 +26,7 @@ #ifndef S_EXPRESSION_H #define S_EXPRESSION_H +#include "strtod.h" #include "list.h" #define SX_AS_(t,x) ((x) && ((s_expression*) x)->is_##t()) ? ((s_##t*) (x)) \ |