replace CALLOC with MALLOC in _mesa_new_texture_object()

This commit is contained in:
Brian Paul
2004-01-19 17:41:02 +00:00
parent c929f13701
commit 9c0b83556d

View 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;
}