diff options
author | Brian Paul <[email protected]> | 2013-01-26 11:07:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-01-29 08:59:53 -0700 |
commit | 2180f3297285e96d7b69e1cef4414461ba42b0d2 (patch) | |
tree | efbbc82de81955034b74eb9212900113cfd894b9 /src/mesa/drivers/osmesa | |
parent | 89551ae04f4cf994c0f7f2ac3aef7e1c57936a29 (diff) |
osmesa: use _mesa_generate_mipmap() for mipmap generation, not meta
See previous commit for more info.
Note: This is a candidate for the 9.0 branch.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 755f371611e..c9685d87d79 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -42,6 +42,7 @@ #include "main/framebuffer.h" #include "main/imports.h" #include "main/macros.h" +#include "main/mipmap.h" #include "main/mtypes.h" #include "main/renderbuffer.h" #include "main/version.h" @@ -783,6 +784,8 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, ctx->Driver.MapRenderbuffer = osmesa_MapRenderbuffer; ctx->Driver.UnmapRenderbuffer = osmesa_UnmapRenderbuffer; + ctx->Driver.GenerateMipmap = _mesa_generate_mipmap; + /* Extend the software rasterizer with our optimized line and triangle * drawing functions. */ |