[Bug 5702] regression: Max Payne 2 demo :missing textures
http://bugs.winehq.org/show_bug.cgi?id=5702 ------- Additional Comments From xerox_xerox2000(a)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.
participants (1)
-
Wine Bugs