[Mesa-dev] [PATCH 07/12] swrast: plug in _swrast_new/delete_texture_image() functions

Brian Paul brian.e.paul at gmail.com
Sat Sep 10 10:55:12 PDT 2011


From: Brian Paul <brianp at vmware.com>

---
 src/mesa/drivers/common/driverfuncs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 50abfc8..56b3d5a 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -110,8 +110,8 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
    driver->BindTexture = NULL;
    driver->NewTextureObject = _mesa_new_texture_object;
    driver->DeleteTexture = _mesa_delete_texture_object;
-   driver->NewTextureImage = _mesa_new_texture_image;
-   driver->DeleteTextureImage = _mesa_delete_texture_image;
+   driver->NewTextureImage = _swrast_new_texture_image;
+   driver->DeleteTextureImage = _swrast_delete_texture_image;
    driver->FreeTextureImageBuffer = _mesa_free_texture_image_data;
    driver->MapTextureImage = _swrast_map_teximage;
    driver->UnmapTextureImage = _swrast_unmap_teximage;
-- 
1.7.3.4



More information about the mesa-dev mailing list