diff options
author | Eric Anholt <[email protected]> | 2011-07-27 12:29:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-29 10:09:41 -0700 |
commit | 0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 (patch) | |
tree | 7bcd0b32d5903c73a722aefc8a822ac205327d1a /src/mesa/state_tracker | |
parent | beca3316fbf317c1032e73c9296c7777d35deb9d (diff) |
mesa: Rename FreeTexImageData to FreeTextureImageBuffer.
This was produced by sed, except for one hunk in driverfuncs.c where
trailing whitespace was dropped.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 4 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_gen_mipmap.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index a3b2ba9e78d..4053f22c32e 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -142,7 +142,7 @@ st_DeleteTextureObject(struct gl_context *ctx, } -/** called via ctx->Driver.FreeTexImageData() */ +/** called via ctx->Driver.FreeTextureImageBuffer() */ static void st_FreeTextureImageData(struct gl_context * ctx, struct gl_texture_image *texImage) { @@ -1880,7 +1880,7 @@ st_init_texture_functions(struct dd_function_table *functions) functions->NewTextureObject = st_NewTextureObject; functions->NewTextureImage = st_NewTextureImage; functions->DeleteTexture = st_DeleteTextureObject; - functions->FreeTexImageData = st_FreeTextureImageData; + functions->FreeTextureImageBuffer = st_FreeTextureImageData; functions->TextureMemCpy = do_memcpy; diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c index 82ca4af7fe4..c991da36670 100644 --- a/src/mesa/state_tracker/st_gen_mipmap.c +++ b/src/mesa/state_tracker/st_gen_mipmap.c @@ -445,7 +445,7 @@ st_generate_mipmap(struct gl_context *ctx, GLenum target, /* Free old image data */ if (dstImage->Data) - ctx->Driver.FreeTexImageData(ctx, dstImage); + ctx->Driver.FreeTextureImageBuffer(ctx, dstImage); /* initialize new image */ _mesa_init_teximage_fields(ctx, target, dstImage, dstWidth, dstHeight, |