summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/postprocess/pp_program.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-09-25 11:56:12 +0100
committerJosé Fonseca <[email protected]>2011-09-25 12:18:55 +0100
commit4703f50e96fe3a9db039f59e154e15c06c3f8367 (patch)
treeb6d2e3e64d2f525440642d3b9f112f30bf9b4d3e /src/gallium/auxiliary/postprocess/pp_program.c
parent785b9e7c780d8e436ef557a22cf916f7869f7390 (diff)
postprocess: Portability fixes.
Diffstat (limited to 'src/gallium/auxiliary/postprocess/pp_program.c')
-rw-r--r--src/gallium/auxiliary/postprocess/pp_program.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_program.c b/src/gallium/auxiliary/postprocess/pp_program.c
index b92ac80a5db..c287af5cf00 100644
--- a/src/gallium/auxiliary/postprocess/pp_program.c
+++ b/src/gallium/auxiliary/postprocess/pp_program.c
@@ -34,13 +34,14 @@
#include "pipe/p_shader_tokens.h"
#include "util/u_inlines.h"
#include "util/u_simple_shaders.h"
+#include "util/u_memory.h"
/** Initialize the internal details */
struct program *
pp_init_prog(struct pp_queue_t *ppq, struct pipe_screen *pscreen)
{
- struct program *p = calloc(1, sizeof(struct program));
+ struct program *p = CALLOC(1, sizeof(struct program));
pp_debug("Initializing program\n");
if (!pscreen)