diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-07-03 08:24:08 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-07-03 08:26:08 +0100 |
commit | 9b6788eb15dd3feedf9daf775bd7259988c35b10 (patch) | |
tree | b115d42da4ad0a344bcf1fb4f8c40fc0dea1425f /src/glsl | |
parent | 4bc8e3c3e45a0086d7a8077bebf2fc50819ff54d (diff) | |
download | external_mesa3d-9b6788eb15dd3feedf9daf775bd7259988c35b10.zip external_mesa3d-9b6788eb15dd3feedf9daf775bd7259988c35b10.tar.gz external_mesa3d-9b6788eb15dd3feedf9daf775bd7259988c35b10.tar.bz2 |
glsl: Ensure snprintf is defined on MSVC builds.
Should fix:
src\glsl\opt_dead_builtin_varyings.cpp(244) : error C3861: 'snprintf': identifier not found
...
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/opt_dead_builtin_varyings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp index 71bb7c4..2e813d2 100644 --- a/src/glsl/opt_dead_builtin_varyings.cpp +++ b/src/glsl/opt_dead_builtin_varyings.cpp @@ -44,6 +44,7 @@ * VARYING_SLOT_TEX0 + i. */ +#include "main/imports.h" /* for snprintf */ #include "ir.h" #include "ir_rvalue_visitor.h" #include "ir_optimization.h" |