diff options
author | Brian Paul <[email protected]> | 2011-07-29 15:30:21 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-29 10:10:03 -0700 |
commit | e10337da21d45ab7cccfa98b4112d1b33f3a5604 (patch) | |
tree | 43dc65dc024c90b1e703500e6b01132eca9d25f5 /src/mesa/drivers/common/driverfuncs.c | |
parent | bfc09e92ffbf3e03f5ea09421d2b8cbae1df53bf (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.c | 2 |
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; |