mesa: Branch 'master'
Patrice Mandin
pmandin at kemper.freedesktop.org
Sun Jan 14 19:15:11 UTC 2007
src/mesa/drivers/dri/nouveau/nv10_state.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree 81bd826de8897f3784ad301023bde6e7eb77b5b2 (from eae7acac168d4e5472488a9135aba0b4e081d5e8)
Author: Patrice Mandin <patrice at manoir.racoon.city>
Date: Sun Jan 14 20:14:58 2007 +0100
nouveau: nv10: 16 bits color buffer format
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c
index 8785879..dbd8bf3 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_state.c
@@ -684,7 +684,7 @@ static GLboolean nv10BindBuffers(nouveau
}
format = 0x108;
if (color[0]->mesa._ActualFormat != GL_RGBA8) {
- /* FIXME: set 16 bits format */
+ format = 0x103; /* R5G6B5 color buffer */
}
OUT_RING(format);
OUT_RING(pitch);
More information about the mesa-commit
mailing list