st/xorg: Use A8 textures for depth 8 pixmaps

There is no hardware out there that can render to I8 textures.
This commit is contained in:
Jakob Bornecrantz
2009-10-08 13:13:36 +02:00
parent a31d16cbfa
commit 552efdae06
+1 -1
View File
@@ -76,7 +76,7 @@ exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp)
assert(*bbp == 16);
break;
case 8:
*format = PIPE_FORMAT_I8_UNORM;
*format = PIPE_FORMAT_A8_UNORM;
assert(*bbp == 8);
break;
case 4: