summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-03-20 20:34:03 +0100
committerMichal Krol <[email protected]>2008-03-20 20:34:03 +0100
commit400b12b4ceda32cc35b60d0484dfd333f1749b8e (patch)
tree4adc54d1e6525bcf0cc13962f4a0a752fd2f1d09
parent482f4995253a0c295dc02e34e58a138ac8822c54 (diff)
gallium: Fix build on Windows.
-rw-r--r--src/gallium/auxiliary/util/u_simple_shaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.c b/src/gallium/auxiliary/util/u_simple_shaders.c
index a2c918b7fe5..8cb74e81d2f 100644
--- a/src/gallium/auxiliary/util/u_simple_shaders.c
+++ b/src/gallium/auxiliary/util/u_simple_shaders.c
@@ -281,7 +281,7 @@ util_make_fragment_passthrough_shader(struct pipe_context *pipe)
uint ti;
struct pipe_shader_state shader;
- tokens = (struct tgsi_token *) malloc(maxTokens * sizeof(tokens[0]));
+ tokens = (struct tgsi_token *) MALLOC(maxTokens * sizeof(tokens[0]));
/* shader header
*/