mesa: plug in swrast texture image alloc/free functions

Use the swrast allocation/free functions instead of core Mesa.
This commit is contained in:
Brian Paul 2011-09-17 14:50:49 -06:00
parent efc93219a9
commit e6cf338d01

View file

@ -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;