projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c9157
)
radeon_fbo: switch short to byte for 565
author
Dave Airlie
<airlied@redhat.com>
Sat, 8 Aug 2009 10:05:11 +0000
(20:05 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 10 Aug 2009 09:58:11 +0000
(19:58 +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 322f510f16d619585016cb2dc17e33602cdcb317..f05b106aaf84ab0c42a33b02d69fb8b93e3a41b7 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_fbo.c
@@
-407,7
+407,7
@@
restart:
rrb->cpp = 2;
rrb->base._ActualFormat = GL_RGB5;
rrb->base._BaseFormat = GL_RGB;
- rrb->base.DataType = GL_UNSIGNED_
SHORT
;
+ rrb->base.DataType = GL_UNSIGNED_
BYTE
;
DBG("Render to RGB5 texture OK\n");
}
else if (texImage->TexFormat == &_mesa_texformat_argb1555) {