projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
155cf15
)
st/mesa: fix renderbuffer internal format for accum buffer
author
Brian Paul
<brianp@vmware.com>
Mon, 6 Jun 2011 14:06:34 +0000
(08:06 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 6 Jun 2011 14:06:34 +0000
(08:06 -0600)
Fixes an accum buffer regression since switching to the table-based
format selection code.
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 64424f77634747fa720a95c30a69ba234a133745..5b9e2037423ef2c7f0432fba74c592c1ba706da4 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_fbo.c
+++ b/
src/mesa/state_tracker/st_cb_fbo.c
@@
-270,7
+270,8
@@
st_new_renderbuffer_fb(enum pipe_format format, int samples, boolean sw)
strb->Base.InternalFormat = GL_STENCIL_INDEX8_EXT;
break;
case PIPE_FORMAT_R16G16B16A16_SNORM:
- strb->Base.InternalFormat = GL_RGBA16;
+ /* accum buffer */
+ strb->Base.InternalFormat = GL_RGBA16_SNORM;
break;
case PIPE_FORMAT_R8_UNORM:
strb->Base.InternalFormat = GL_R8;