[Bug 10414] Minimap in Warhammer 40k: Dark Crusade is offset
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 18 13:06:49 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=10414
Erik Andresen <erik at vontaene.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |erik at vontaene.de
--- Comment #15 from Erik Andresen <erik at vontaene.de> 2008-03-18 13:06:48 ---
ok, took me a few hours, but:
I also did some regression testing. I also came to the conclusion, that this
patch broke the Minimap:
http://source.winehq.org/git/wine.git/?a=commitdiff_plain;h=fe0f0eb48a12e29af6a9e7407d4eec8bc500a057
Now, please note that I have no idea, what the float named mat is, or what I
was doing, but by doing some testing and closely looking at the patch I found a
fix that is working for me.
With this patch with applies against Wine 0.9.57, the minimap completely works
against for me:
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -2609,6 +2609,8 @@ void set_texture_matrix(const float *smat, DWORD flags,
BO
* 1.0 doesn't do anything bad. The caller will set this value
*/
case WINED3DDECLTYPE_UNUSED: /* No texture coords, 0/0/0/1
defa
+ mat[12] = mat[8];
+ mat[13] = mat[9];
break;
default:
FIXME("Unexpected fixed function texture coord input\n");
Would be good if someone can confirm this one.
--
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