summaryrefslogtreecommitdiffstats
path: root/src/glsl/main.cpp
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2015-07-03 09:46:01 +0200
committerMatt Turner <[email protected]>2015-07-03 10:56:55 -0700
commit83984f134b4a1e2829cb238c404bc82c98be6082 (patch)
treeceed0ee4e4c3f8f7533f30a32a09d3a00e7f709b /src/glsl/main.cpp
parent28dda47ae4d974e3e032d60e8e0965c8c068c6d8 (diff)
glsl: add a missing call to _mesa_locale_init
After c61bc6e ("util: port _mesa_strto[df] to C"), "make check" fails due to a missing _mesa_locale_init. Fixup this oversight, by moving the stand-alone compiler initializer inside initialize_context_to_defaults(). Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Erik Faye-Lund <[email protected]>
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r--src/glsl/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp
index 58651df10a0..23412980dce 100644
--- a/src/glsl/main.cpp
+++ b/src/glsl/main.cpp
@@ -38,7 +38,6 @@
#include "program/hash_table.h"
#include "loop_analysis.h"
#include "standalone_scaffolding.h"
-#include "util/strtod.h"
static int glsl_version = 330;
@@ -47,8 +46,6 @@ initialize_context(struct gl_context *ctx, gl_api api)
{
initialize_context_to_defaults(ctx, api);
- _mesa_locale_init();
-
/* The standalone compiler needs to claim support for almost
* everything in order to compile the built-in functions.
*/