aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-17 14:50:49 -0600
committerBrian Paul <[email protected]>2011-09-17 14:57:40 -0600
commite6cf338d015e994012535fce5e06c7dc59482b02 (patch)
tree029d309eabb1788ce50de034842969b6a26f6386 /src
parentefc93219a9dfbd8e0bc42a1d0db372d2e7a7618c (diff)
mesa: plug in swrast texture image alloc/free functions
Use the swrast allocation/free functions instead of core Mesa.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 56b3d5af8fd..3e289698047 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -112,7 +112,8 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->DeleteTexture = _mesa_delete_texture_object;
driver->NewTextureImage = _swrast_new_texture_image;
driver->DeleteTextureImage = _swrast_delete_texture_image;
- driver->FreeTextureImageBuffer = _mesa_free_texture_image_data;
+ driver->AllocTextureImageBuffer = _swrast_alloc_texture_image_buffer;
+ driver->FreeTextureImageBuffer = _swrast_free_texture_image_buffer;
driver->MapTextureImage = _swrast_map_teximage;
driver->UnmapTextureImage = _swrast_unmap_teximage;
driver->MapTexture = NULL;