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

@@ -55,7 +55,7 @@
static struct gl_buffer_object *
st_bufferobj_alloc(GLcontext *ctx, GLuint name, GLenum target)
{
struct st_buffer_object *st_obj = CALLOC_STRUCT(st_buffer_object);
struct st_buffer_object *st_obj = ST_CALLOC_STRUCT(st_buffer_object);
if (!st_obj)
return NULL;