diff options
author | Brian Paul <[email protected]> | 2004-12-12 19:03:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-12-12 19:03:16 +0000 |
commit | 68d293b03535ca50daf70650b32db780f1718a3b (patch) | |
tree | 61dabbf4140beda7a3c64b01356c0b92167ee060 /src/mesa/drivers/common | |
parent | 5aa1a111a443e51e27e32037a785c49388346495 (diff) |
Added driver hooks for GetTexImage() and GetCompressedTexImage().
Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c
Diffstat (limited to 'src/mesa/drivers/common')
-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 df5f6ac8f03..11b4e286b6f 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -79,6 +79,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->TexSubImage1D = _mesa_store_texsubimage1d; driver->TexSubImage2D = _mesa_store_texsubimage2d; driver->TexSubImage3D = _mesa_store_texsubimage3d; + driver->GetTexImage = _mesa_get_teximage; driver->CopyTexImage1D = _swrast_copy_teximage1d; driver->CopyTexImage2D = _swrast_copy_teximage2d; driver->CopyTexSubImage1D = _swrast_copy_texsubimage1d; @@ -91,6 +92,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->CompressedTexSubImage1D = _mesa_store_compressed_texsubimage1d; driver->CompressedTexSubImage2D = _mesa_store_compressed_texsubimage2d; driver->CompressedTexSubImage3D = _mesa_store_compressed_texsubimage3d; + driver->GetCompressedTexImage = _mesa_get_compressed_teximage; driver->CompressedTextureSize = _mesa_compressed_texture_size; driver->BindTexture = NULL; driver->NewTextureObject = _mesa_new_texture_object; |