diff options
author | Brian Paul <brianp@vmware.com> | 2012-09-01 07:47:24 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-09-01 07:47:24 -0600 |
commit | 33bb8c051df3f2561c7b4a5ad7abefa3fce99d37 (patch) | |
tree | a41341f3c9608a1540f9b26ab8eb9039d9aa09ac /src/mesa/tnl/t_vb_texgen.c | |
parent | 66d6ba2d83255e2fe051760faf8256e897af5a64 (diff) | |
download | external_mesa3d-33bb8c051df3f2561c7b4a5ad7abefa3fce99d37.zip external_mesa3d-33bb8c051df3f2561c7b4a5ad7abefa3fce99d37.tar.gz external_mesa3d-33bb8c051df3f2561c7b4a5ad7abefa3fce99d37.tar.bz2 |
mesa: s/MALLOC/malloc/
v2: replace instances in dri/common/ dirs
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/tnl/t_vb_texgen.c')
-rw-r--r-- | src/mesa/tnl/t_vb_texgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_texgen.c b/src/mesa/tnl/t_vb_texgen.c index d4c7885..1b4de30 100644 --- a/src/mesa/tnl/t_vb_texgen.c +++ b/src/mesa/tnl/t_vb_texgen.c @@ -570,8 +570,8 @@ static GLboolean alloc_texgen_data( struct gl_context *ctx, for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); - store->tmp_f = (GLfloat (*)[3]) MALLOC(VB->Size * sizeof(GLfloat) * 3); - store->tmp_m = (GLfloat *) MALLOC(VB->Size * sizeof(GLfloat)); + store->tmp_f = (GLfloat (*)[3]) malloc(VB->Size * sizeof(GLfloat) * 3); + store->tmp_m = (GLfloat *) malloc(VB->Size * sizeof(GLfloat)); return GL_TRUE; } |