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
(parent:
1ea7a6a
)
intel: Finalize the miptree before mapping it for fallbacks.
author
Eric Anholt
<eric@anholt.net>
Tue, 15 Jun 2010 19:18:40 +0000
(12:18 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sat, 19 Jun 2010 00:44:47 +0000
(17:44 -0700)
Fixes segfault in mipmap_view.c demo. Bug #27212.
src/mesa/drivers/dri/intel/intel_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_span.c
b/src/mesa/drivers/dri/intel/intel_span.c
index
c30552c
..
fb840c1
100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_span.c
+++ b/
src/mesa/drivers/dri/intel/intel_span.c
@@
-257,6
+257,8
@@
intelSpanRenderStart(GLcontext * ctx)
for (i = 0; i < ctx->Const.MaxTextureImageUnits; i++) {
if (ctx->Texture.Unit[i]._ReallyEnabled) {
struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
+
+ intel_finalize_mipmap_tree(intel, i);
intel_tex_map_images(intel, intel_texture_object(texObj));
}
}