[Bug 52393] Sacred 2 Gold: Textures largely missing since 5.0-rc3

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 23 19:31:43 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52393

--- Comment #26 from labre at posteo.de ---
(In reply to Piotr Caban from comment #24)
> (In reply to labre from comment #22)
> > Created attachment 71712 [details]
> > Fixing patch against regression commit
> 
> There are few problems with attached patch:
Addressed the problems and it still works.

> The patch is removing the _control87 calls because it's no longer needed.
> The conversion is done using integers. All floating operations were removed
> except of sign*0.0 and sign*INFINITY (and none of this calls depends on fp
> control word value). Maybe it will be cleaner to change it to something like
> (sign == 1 ? 0.0 : -0.0) and (sign == 1 ? INFINITY : -INFINITY) but it
> shouldn't matter.
I agree, that it shouldn’t matter, but at least in this commit it apparently
does. In wine-7.0 however it does indeed make no difference. Of course it has
been a long time since the regression commit. I probably could also bisect the
commit, which introduced that.

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