projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bc8e3c
)
glsl: Ensure snprintf is defined on MSVC builds.
30/7330/1
author
José Fonseca
<jfonseca@vmware.com>
Wed, 3 Jul 2013 07:24:08 +0000
(08:24 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 3 Jul 2013 07:26:08 +0000
(08:26 +0100)
Should fix:
src\glsl\opt_dead_builtin_varyings.cpp(244) : error C3861: 'snprintf': identifier not found
...
src/glsl/opt_dead_builtin_varyings.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/opt_dead_builtin_varyings.cpp
b/src/glsl/opt_dead_builtin_varyings.cpp
index
71bb7c4
..
2e813d2
100644
(file)
--- 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"