projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c929f13
)
replace CALLOC with MALLOC in _mesa_new_texture_object()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 17:41:02 +0000
(17:41 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 17:41:02 +0000
(17:41 +0000)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 35323e2b72a0f9f2e3b0173943cba72856122ea5..98e49cde672d34a1ed5d262093a81431cf846ed3 100644
(file)
--- 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 =
C
ALLOC_STRUCT(gl_texture_object);
+ obj =
M
ALLOC_STRUCT(gl_texture_object);
_mesa_initialize_texture_object(obj, name, target);
return obj;
}