Stefan Dösinger : wined3d: Replace a #if 0 with if(0).

Alexandre Julliard julliard at winehq.org
Thu Aug 28 07:00:33 CDT 2008


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu Aug 21 13:38:14 2008 -0500

wined3d: Replace a #if 0 with if(0).

---

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

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 3cce302..119f526 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -375,12 +375,12 @@ BOOL initPixelFormats(WineD3D_GL_Info *gl_info)
         gl_info->gl_formats[dst].conversion_group = WINED3DFMT_V16U16;
     } else {
         /* Blue = 1.0 fixup, disabled for now */
-#if 0
-        dst = getFmtIdx(WINED3DFMT_V8U8);
-        gl_info->gl_formats[dst].conversion_group = WINED3DFMT_V8U8;
-        dst = getFmtIdx(WINED3DFMT_V16U16);
-        gl_info->gl_formats[dst].conversion_group = WINED3DFMT_V8U8;
-#endif
+        if(0) {
+            dst = getFmtIdx(WINED3DFMT_V8U8);
+            gl_info->gl_formats[dst].conversion_group = WINED3DFMT_V8U8;
+            dst = getFmtIdx(WINED3DFMT_V16U16);
+            gl_info->gl_formats[dst].conversion_group = WINED3DFMT_V8U8;
+        }
     }
 
     if(!GL_SUPPORT(NV_TEXTURE_SHADER)) {




More information about the wine-cvs mailing list