[Bug 17423] Prince of Persia SoT: Graphic Bug

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 17 22:15:30 CDT 2011


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

--- Comment #26 from Damian Ivanov <damianatorrpm at gmail.com> 2011-09-17 22:15:28 CDT ---
Yeah, I found after your posts that the Crashday issue is
http://bugs.winehq.org/show_bug.cgi?id=18505 and again a poster says it's all
nVidia's fault :( The other games would be the other early Prince of Persia
games. 

PS:
Is it possible for me (or how could I do it :) ) to make some hackish style
patch for my *personal* wine, like 

if(WINE_EXE_NAME == PoP.exe) {
     if(args->fog_src == VS_FOG_Z) {
-        shader_addline(buffer, "gl_FogFragCoord = gl_Position.z;\n");
+        if(!reg_maps->fog) {
+            shader_addline(buffer, "gl_FogFragCoord = gl_Position.z;\n");
+        } else {
+            FIXME("Shader writes fog coord and table fog is used\n");
+        }
     } else if (!reg_maps->fog) {
         shader_addline(buffer, "gl_FogFragCoord = 0.0;\n");
     }
else {
whatever 
}

-- 
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