Nozomi Kodama : d3dx9_36: Recognize A8B8G8R8 format.

Alexandre Julliard julliard at winehq.org
Mon Jun 18 15:00:23 CDT 2012


Module: wine
Branch: master
Commit: 5523820b810d16fd17da86fcf7930fd3f27acdf4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5523820b810d16fd17da86fcf7930fd3f27acdf4

Author: Nozomi Kodama <Nozomi.Kodama at yahoo.com>
Date:   Sat Jun 16 03:14:49 2012 +0800

d3dx9_36: Recognize A8B8G8R8 format.

---

 dlls/d3dx9_36/surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/d3dx9_36/surface.c b/dlls/d3dx9_36/surface.c
index 603f8d8..f71af32 100644
--- a/dlls/d3dx9_36/surface.c
+++ b/dlls/d3dx9_36/surface.c
@@ -190,6 +190,7 @@ static D3DFORMAT dds_rgb_to_d3dformat(const struct dds_pixel_format *pixel_forma
         { 32, 0x3ff00000, 0x000ffc00, 0x000003ff, 0xc0000000, D3DFMT_A2B10G10R10 },
         { 32, 0x000003ff, 0x000ffc00, 0x3ff00000, 0xc0000000, D3DFMT_A2R10G10B10 },
         { 32, 0x0000ffff, 0xffff0000, 0x00000000, 0x00000000, D3DFMT_G16R16 },
+        { 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000, D3DFMT_A8B8G8R8 },
     };
 
     for (i = 0; i < sizeof(rgb_pixel_formats) / sizeof(rgb_pixel_formats[0]); i++)




More information about the wine-cvs mailing list