projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa097f
)
radeon: actual format is rgba8
author
Dave Airlie
<airlied@redhat.com>
Mon, 23 Mar 2009 23:45:26 +0000
(09:45 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 23 Mar 2009 23:45:26 +0000
(09:45 +1000)
src/mesa/drivers/dri/radeon/radeon_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_fbo.c
b/src/mesa/drivers/dri/radeon/radeon_fbo.c
index f914c8c8d07f391af08126106cec86747dabcd56..2c30f9ddfdef884201b04cce103e475ea2253967 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_fbo.c
@@
-382,7
+382,7
@@
radeon_update_wrapper(GLcontext *ctx, struct radeon_renderbuffer *rrb,
}
else if (texImage->TexFormat == &_mesa_texformat_argb4444) {
rrb->cpp = 2;
- rrb->base._ActualFormat = GL_RGBA
4
;
+ rrb->base._ActualFormat = GL_RGBA
8
;
rrb->base._BaseFormat = GL_RGBA;
rrb->base.DataType = GL_UNSIGNED_BYTE;
DBG("Render to RGBA4 texture OK\n");