aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/driverfuncs.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-07-29 15:30:21 -0700
committerEric Anholt <[email protected]>2011-08-29 10:10:03 -0700
commite10337da21d45ab7cccfa98b4112d1b33f3a5604 (patch)
tree43dc65dc024c90b1e703500e6b01132eca9d25f5 /src/mesa/drivers/common/driverfuncs.c
parentbfc09e92ffbf3e03f5ea09421d2b8cbae1df53bf (diff)
swrast: Add implementation of MapTextureImage/UnmapTextureImage.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 912231b1d37..78caa054203 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -112,6 +112,8 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->DeleteTexture = _mesa_delete_texture_object;
driver->NewTextureImage = _mesa_new_texture_image;
driver->FreeTextureImageBuffer = _mesa_free_texture_image_data;
+ driver->MapTextureImage = _swrast_map_teximage;
+ driver->UnmapTextureImage = _swrast_unmap_teximage;
driver->MapTexture = NULL;
driver->UnmapTexture = NULL;
driver->TextureMemCpy = memcpy;