[Bug 27145] Weapons Translucent Like Glass in FEAR 1 and 2.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 19 17:32:49 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27145

mennozon at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36473|1                           |0
        is obsolete|                            |

--- Comment #32 from mennozon at gmail.com 2011-09-19 17:32:49 CDT ---
(From update of attachment 36473)
--- orig/wine-1.3.28/dlls/wined3d/state.c    2011-09-09 19:43:48.000000000
+0200
+++ wine-1.3.28/dlls/wined3d/state.c    2011-09-20 00:19:10.116608448 +0200
@@ -1694,7 +1694,7 @@
             if (depth)
             {
                 const struct wined3d_format *fmt = depth->resource.format;
-                scale = powf(2, fmt->depth_size) - 1;
+                scale = powf(2, fmt->depth_size) / 1000 ;
                 TRACE("Depth format %s, using depthbias scale of %.8e.\n",
                       debug_d3dformat(fmt->id), scale);
             }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list