[Bug 5702] regression: Max Payne 2 demo :missing textures

Wine Bugs wine-bugs at winehq.org
Mon Jul 24 13:57:01 CDT 2006


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





------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2006-24-07 13:57 -------
hack that works for my videocard (ATI) to get Max visible again:

--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -227,7 +227,7 @@ static void select_shader_mode(
     } else if (gl_info->supported[ARB_VERTEX_PROGRAM]) {
         *vs_selected = SHADER_ARB;
         /* ARB shaders seem to have an implicit PARAM when fog is used, so we
need to subtract 1 from the total available */
-        gl_info->max_vshader_constantsF = gl_info->vs_arb_constantsF - 1;
+        gl_info->max_vshader_constantsF = gl_info->vs_arb_constantsF - 2;
     } else {
         *vs_selected = SHADER_SW;
     }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list