projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9666529
)
mesa/st: Initialize format bits of framebuffer renderbuffers
author
Nicolai Hähnle
<nhaehnle@gmail.com>
Sat, 12 Sep 2009 10:13:35 +0000
(12:13 +0200)
committer
Nicolai Hähnle
<nhaehnle@gmail.com>
Sun, 20 Sep 2009 14:54:40 +0000
(16:54 +0200)
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/state_tracker/st_cb_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_fbo.c
b/src/mesa/state_tracker/st_cb_fbo.c
index 21ddf2fc7a28c59ebd2c0ecce4c18dad3976d5f6..6762ed39c3bd24cdabb7fbb6c27cdd465b8a1020 100644
(file)
--- 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) {