commit efe0a1e

Michael Forney  ·  2015-09-01 07:36:55 +0000 UTC
parent 00ba7a7
nouveau: Fix copy of XRGB buffers with no alpha component
1 files changed,  +1, -0
+1, -0
1@@ -168,6 +168,7 @@ static inline uint32_t nvc0_format(uint32_t format)
2     switch (format)
3     {
4         case WLD_FORMAT_XRGB8888:
5+            return G80_SURFACE_FORMAT_BGRX8_UNORM;
6         case WLD_FORMAT_ARGB8888:
7             return G80_SURFACE_FORMAT_BGRA8_UNORM;
8     }