diff options
author | Brian <[email protected]> | 2008-02-05 18:15:03 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-06 09:35:39 -0700 |
commit | 4c2f3dbca940f289e67248682b84a3516d5a3031 (patch) | |
tree | d424cabdc7bfabd672bdb940c93aad97208912be /src/mesa/drivers/common | |
parent | afc54983370033b65e3a7cbb29bd9c87156f0881 (diff) |
Added ctx->Driver.GenerateMipmap() driver hook
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 33caf7dae1d..b5b383b4e42 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -28,6 +28,7 @@ #include "buffers.h" #include "context.h" #include "framebuffer.h" +#include "mipmap.h" #include "program.h" #include "prog_execute.h" #include "queryobj.h" @@ -99,6 +100,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->CopyTexSubImage1D = _swrast_copy_texsubimage1d; driver->CopyTexSubImage2D = _swrast_copy_texsubimage2d; driver->CopyTexSubImage3D = _swrast_copy_texsubimage3d; + driver->GenerateMipmap = _mesa_generate_mipmap; driver->TestProxyTexImage = _mesa_test_proxy_teximage; driver->CompressedTexImage1D = _mesa_store_compressed_teximage1d; driver->CompressedTexImage2D = _mesa_store_compressed_teximage2d; |