diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-01-19 17:41:02 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-01-19 17:41:02 +0000 |
commit | 9c0b83556dae35cf7260567f30fc156efa8c9742 (patch) | |
tree | 24df785fd73571838a53fd5cf304a82293d8d99d | |
parent | c929f13701634a145a217ebb1ddec80742234d5d (diff) |
replace CALLOC with MALLOC in _mesa_new_texture_object()
-rw-r--r-- | src/mesa/main/texobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 35323e2b72..98e49cde67 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -64,7 +64,7 @@ struct gl_texture_object * _mesa_new_texture_object( GLcontext *ctx, GLuint name, GLenum target ) { struct gl_texture_object *obj; - obj = CALLOC_STRUCT(gl_texture_object); + obj = MALLOC_STRUCT(gl_texture_object); _mesa_initialize_texture_object(obj, name, target); return obj; } |