projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f580494
)
intel: Also update stencil bits in intel_update_wrapper().
author
Michel Dänzer
<daenzer@vmware.com>
Fri, 3 Jul 2009 15:50:15 +0000
(17:50 +0200)
committer
Michel Dänzer
<daenzer@vmware.com>
Fri, 3 Jul 2009 15:54:34 +0000
(17:54 +0200)
Fixes assertion failure when binding depth/stencil texture to FBO stencil
attachment.
src/mesa/drivers/dri/intel/intel_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_fbo.c
b/src/mesa/drivers/dri/intel/intel_fbo.c
index 52647ddf8b2cdd32df6bb794feee6c9877527719..30f58b1f44ad52276d5cb381b2ea4dbd4b9ea314 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/
src/mesa/drivers/dri/intel/intel_fbo.c
@@
-515,6
+515,7
@@
intel_update_wrapper(GLcontext *ctx, struct intel_renderbuffer *irb,
irb->Base.BlueBits = texImage->TexFormat->BlueBits;
irb->Base.AlphaBits = texImage->TexFormat->AlphaBits;
irb->Base.DepthBits = texImage->TexFormat->DepthBits;
+ irb->Base.StencilBits = texImage->TexFormat->StencilBits;
irb->Base.Delete = intel_delete_renderbuffer;
irb->Base.AllocStorage = intel_nop_alloc_storage;