mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
replace CALLOC with MALLOC in _mesa_new_texture_object()
This commit is contained in:
parent
c929f13701
commit
9c0b83556d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue