Mesa (mesa_7_5_branch): mesa/st: Initialize format bits of framebuffer renderbuffers
Nicolai Hähnle
nh at kemper.freedesktop.org
Sun Sep 20 15:02:55 UTC 2009
Module: Mesa
Branch: mesa_7_5_branch
Commit: c4ce6f6a7c124c62a8ee9bd9fba28fc69a38e18c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4ce6f6a7c124c62a8ee9bd9fba28fc69a38e18c
Author: Nicolai Hähnle <nhaehnle at gmail.com>
Date: Sat Sep 12 12:13:35 2009 +0200
mesa/st: Initialize format bits of framebuffer renderbuffers
Signed-off-by: Nicolai Hähnle <nhaehnle at gmail.com>
---
src/mesa/state_tracker/st_cb_fbo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index 21ddf2f..6762ed3 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -256,6 +256,7 @@ st_new_renderbuffer_fb(enum pipe_format format, int samples, boolean sw)
strb->Base.ClassID = 0x4242; /* just a unique value */
strb->Base.NumSamples = samples;
strb->format = format;
+ init_renderbuffer_bits(strb, format);
strb->software = sw;
switch (format) {
More information about the mesa-commit
mailing list