summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c
index 8785879d9d..dbd8bf306e 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(nouveauContextPtr nmesa, int num_color,
}
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);