[Bug 5723] vertex shader regression in gta sa with current cvs

Wine Bugs wine-bugs at winehq.org
Thu Jul 20 03:11:24 CDT 2006


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





------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2006-20-07 03:11 -------
Then this is probably a dupe of 5702. Jason Green is working on this regression.
To be sure it's a dupe, could you try this patch (enable pixelshaders again!)
and see if it helps for you too? Thanks
something like :
--- 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