diff options
Diffstat (limited to 'src/mesa/pipe/nv30/nv30_query.c')
-rw-r--r-- | src/mesa/pipe/nv30/nv30_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/nv30/nv30_query.c b/src/mesa/pipe/nv30/nv30_query.c index ea74c0f5f1..71fdcfa24d 100644 --- a/src/mesa/pipe/nv30/nv30_query.c +++ b/src/mesa/pipe/nv30/nv30_query.c @@ -1,4 +1,5 @@ #include "pipe/p_context.h" +#include "pipe/p_util.h" #include "nv30_context.h" @@ -20,7 +21,7 @@ nv30_query_create(struct pipe_context *pipe, unsigned query_type) { struct nv30_query *q; - q = calloc(1, sizeof(struct nv30_query)); + q = CALLOC(1, sizeof(struct nv30_query)); q->type = query_type; return (struct pipe_query *)q; |