replace CALLOC with MALLOC in _mesa_new_texture_object()
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 17:41:02 +0000 (17:41 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 17:41:02 +0000 (17:41 +0000)
src/mesa/main/texobj.c

index 35323e2b72a0f9f2e3b0173943cba72856122ea5..98e49cde672d34a1ed5d262093a81431cf846ed3 100644 (file)
@@ -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;
 }