diff options
author | Brian Paul <[email protected]> | 2009-02-12 10:14:36 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-12 10:14:36 -0700 |
commit | f1a59a6dd7b7b0523db191d82b3af1a841c6475d (patch) | |
tree | 847aceec1a61e00d19bd7ac24f2eb0fc4a1e6c2a /src/mesa/state_tracker/st_cb_texture.c | |
parent | 1a2f4dd8768703fbc1b2a0d5be342345644805b4 (diff) |
mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 9279a768c82..3dd1f1d737d 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -114,7 +114,7 @@ st_NewTextureImage(GLcontext * ctx) { DBG("%s\n", __FUNCTION__); (void) ctx; - return (struct gl_texture_image *) CALLOC_STRUCT(st_texture_image); + return (struct gl_texture_image *) ST_CALLOC_STRUCT(st_texture_image); } @@ -122,7 +122,7 @@ st_NewTextureImage(GLcontext * ctx) static struct gl_texture_object * st_NewTextureObject(GLcontext * ctx, GLuint name, GLenum target) { - struct st_texture_object *obj = CALLOC_STRUCT(st_texture_object); + struct st_texture_object *obj = ST_CALLOC_STRUCT(st_texture_object); DBG("%s\n", __FUNCTION__); _mesa_initialize_texture_object(&obj->base, name, target); |