mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker
This commit is contained in:
@@ -798,7 +798,7 @@ st_init_bitmap(struct st_context *st)
|
||||
}
|
||||
|
||||
/* alloc bitmap cache object */
|
||||
st->bitmap.cache = CALLOC_STRUCT(bitmap_cache);
|
||||
st->bitmap.cache = ST_CALLOC_STRUCT(bitmap_cache);
|
||||
|
||||
reset_cache(st);
|
||||
}
|
||||
|
Reference in New Issue
Block a user