commit efe0a1ed1856a2e4a1893ed0f2d7dde43b5627f0
parent 00ba7a7b73d3014f973fc7105d76ef35c7944b5d
Author: Michael Forney <mforney@mforney.org>
Date: Tue, 1 Sep 2015 00:36:55 -0700
nouveau: Fix copy of XRGB buffers with no alpha component
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nouveau.c b/nouveau.c
@@ -168,6 +168,7 @@ static inline uint32_t nvc0_format(uint32_t format)
switch (format)
{
case WLD_FORMAT_XRGB8888:
+ return G80_SURFACE_FORMAT_BGRX8_UNORM;
case WLD_FORMAT_ARGB8888:
return G80_SURFACE_FORMAT_BGRA8_UNORM;
}