diff options
author | Brian Paul <[email protected]> | 2008-10-17 14:13:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-17 14:13:00 -0600 |
commit | 87a6fe57e85ea5f273e808211a0e61d2b837b8e2 (patch) | |
tree | 0ed8f21ce93e75f21b41bad302bfc057255bb17d /src/mesa/state_tracker | |
parent | b50a0b89d946cac3c18a84c3a77cc8dcf96eeec7 (diff) | |
parent | d422c1eb5c0fac8f946758ecce96072505c77683 (diff) |
Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:
progs/trivial/tri.c
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index acaf1de8823..d08229b57a3 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -156,7 +156,7 @@ st_FreeTextureImageData(GLcontext * ctx, struct gl_texture_image *texImage) } if (texImage->Data) { - free(texImage->Data); + _mesa_align_free(texImage->Data); texImage->Data = NULL; } } @@ -541,7 +541,7 @@ st_TexImage(GLcontext * ctx, sizeInBytes = depth * dstRowStride * postConvHeight; } - texImage->Data = malloc(sizeInBytes); + texImage->Data = _mesa_align_malloc(sizeInBytes, 16); } if (!texImage->Data) { |