nouveau: nv10: 16 bits color buffer format

This commit is contained in:
Patrice Mandin
2007-01-14 20:14:58 +01:00
parent eae7acac16
commit 81bd826de8
+1 -1
View File
@@ -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);