diff options
author | Brian Paul <[email protected]> | 2009-02-12 10:08:25 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-12 10:11:55 -0700 |
commit | 1a2f4dd8768703fbc1b2a0d5be342345644805b4 (patch) | |
tree | 4b3015001998370edd8df9dcd3c7eaed6f2f7f42 /src/mesa/state_tracker/st_draw.c | |
parent | 19dff5efc1e348d037b1b3cdfb9ac91020ecde4d (diff) |
mesa: consistantly use mesa memory-functions in gallium state tracker
Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc.
Still using CALLOC_STRUCT() at this point.
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index ae71d586c2f..b52e4886128 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -223,7 +223,7 @@ setup_edgeflags(GLcontext *ctx, GLenum primMode, GLint start, GLint count, if (!stobj) return NULL; - vec = (unsigned *) calloc(sizeof(unsigned), (count + 31) / 32); + vec = (unsigned *) _mesa_calloc(sizeof(unsigned) * ((count + 31) / 32)); if (!vec) return NULL; |