projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5e741
)
st/mesa: assign renderbuffer's format field when allocating storage
author
pepp
<pelloux@gmail.com>
Tue, 12 Apr 2011 15:42:02 +0000
(17:42 +0200)
committer
Brian Paul
<brianp@vmware.com>
Sat, 21 May 2011 15:49:14 +0000
(09:49 -0600)
See http://bugs.freedesktop.org/show_bug.cgi?id=36173
NOTE: This is a candidate for the 7.10 branch.
Signed-off-by: Brian Paul <brianp@vmware.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 e632d8165428db013eb76633cf2eef0762cbfdd9..755b6bcf967122a85f36b4a670f53d35b9400d4e 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_fbo.c
+++ b/
src/mesa/state_tracker/st_cb_fbo.c
@@
-90,6
+90,7
@@
st_renderbuffer_alloc_storage(struct gl_context * ctx,
strb->Base.Format = st_pipe_format_to_mesa_format(format);
strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);
strb->Base.DataType = st_format_datatype(format);
+ strb->format = format;
strb->defined = GL_FALSE; /* undefined contents now */