Roderick Colenbrander : wined3d: Fix WINED3DFMT D16/ L16 bugs in the pixelformat table.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 13 06:31:52 CDT 2007


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

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Sat Aug 11 12:21:15 2007 +0200

wined3d: Fix WINED3DFMT D16/L16 bugs in the pixelformat table.

---

 dlls/wined3d/utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 7643aa9..c66c381 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -96,8 +96,8 @@ static const StaticPixelFormatDesc formats[] = {
     {WINED3DFMT_D24S8       ,0x0        ,0x0        ,0x0        ,0x0        ,4      ,24     ,8          ,FALSE },
     {WINED3DFMT_D24X8       ,0x0        ,0x0        ,0x0        ,0x0        ,4      ,24     ,0          ,FALSE },
     {WINED3DFMT_D24X4S4     ,0x0        ,0x0        ,0x0        ,0x0        ,4      ,24     ,4          ,FALSE },
-    {WINED3DFMT_D16         ,0x0        ,0x0        ,0x0        ,0x0        ,4      ,16     ,0          ,FALSE },
-    {WINED3DFMT_L16         ,0x0        ,0x0        ,0x0        ,0x0        ,2      ,0      ,0          ,FALSE },
+    {WINED3DFMT_D16         ,0x0        ,0x0        ,0x0        ,0x0        ,2      ,16     ,0          ,FALSE },
+    {WINED3DFMT_L16         ,0x0        ,0x0        ,0x0        ,0x0        ,2      ,16      ,0          ,FALSE },
     {WINED3DFMT_D32F_LOCKABLE,0x0       ,0x0        ,0x0        ,0x0        ,4      ,32     ,0          ,FALSE },
     {WINED3DFMT_D24FS8      ,0x0        ,0x0        ,0x0        ,0x0        ,4      ,24     ,8          ,FALSE },
     /* Is this a vertex buffer? */




More information about the wine-cvs mailing list