From: Michal Krol Date: Thu, 20 Mar 2008 19:34:03 +0000 (+0100) Subject: gallium: Fix build on Windows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=400b12b4ceda32cc35b60d0484dfd333f1749b8e;p=mesa.git gallium: Fix build on Windows. --- 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 */