projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3fa0423
)
osmesa: use _mesa_generate_mipmap() for mipmap generation, not meta
author
Brian Paul
<brianp@vmware.com>
Sat, 26 Jan 2013 18:07:35 +0000
(11:07 -0700)
committer
Andreas Boll
<andreas.boll.dev@gmail.com>
Wed, 13 Feb 2013 17:46:39 +0000
(18:46 +0100)
See previous commit for more info.
Note: This is a candidate for the 9.0 branch.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
(cherry picked from commit
2180f3297285e96d7b69e1cef4414461ba42b0d2
)
src/mesa/drivers/osmesa/osmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/osmesa/osmesa.c
b/src/mesa/drivers/osmesa/osmesa.c
index
e594548
..
0e770f9
100644
(file)
--- a/
src/mesa/drivers/osmesa/osmesa.c
+++ b/
src/mesa/drivers/osmesa/osmesa.c
@@
-41,6
+41,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 "swrast/swrast.h"
@@
-780,6
+781,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.
*/