mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker

This commit is contained in:
Brian Paul
2009-02-12 10:14:36 -07:00
parent 1a2f4dd876
commit f1a59a6dd7
12 changed files with 19 additions and 15 deletions

View File

@@ -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;