summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_queryobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-12 10:14:36 -0700
committerBrian Paul <[email protected]>2009-02-12 10:14:36 -0700
commitf1a59a6dd7b7b0523db191d82b3af1a841c6475d (patch)
tree847aceec1a61e00d19bd7ac24f2eb0fc4a1e6c2a /src/mesa/state_tracker/st_cb_queryobj.c
parent1a2f4dd8768703fbc1b2a0d5be342345644805b4 (diff)
mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker
Diffstat (limited to 'src/mesa/state_tracker/st_cb_queryobj.c')
-rw-r--r--src/mesa/state_tracker/st_cb_queryobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_queryobj.c b/src/mesa/state_tracker/st_cb_queryobj.c
index bd2716a45f5..dcf4c38eb61 100644
--- a/src/mesa/state_tracker/st_cb_queryobj.c
+++ b/src/mesa/state_tracker/st_cb_queryobj.c
@@ -64,7 +64,7 @@ st_query_object(struct gl_query_object *q)
static struct gl_query_object *
st_NewQueryObject(GLcontext *ctx, GLuint id)
{
- struct st_query_object *stq = CALLOC_STRUCT(st_query_object);
+ struct st_query_object *stq = ST_CALLOC_STRUCT(st_query_object);
if (stq) {
stq->base.Id = id;
stq->base.Ready = GL_TRUE;