[Bug 41930] Civilization III Complete shows black terrain (Wine compiled with OSMesa support)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jul 11 17:51:41 CDT 2021


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

--- Comment #39 from Bryan Varner <bryan at varnernet.com> ---
Thanks for the updated patch...

I'm still leery of the actual blt copy.

>From what I recall, this patch makes things not fail in the game, but the
overlaid effect of the green boundary of the city, and other OpenGL effects
that are alpha-composited over the map no longer function.

So I'm going to stand by my assertions that there's something going on in the
code-path where the blt should be ignoring 565 bytes that are 0x00 -- this is
in fact the normal behavior of premultipled alpha blends. I have a hunch that's
where the actual issue is, as opposed to the byte format of the offscreen
opengl buffer.

The fact that this patch makes things 'look like they work' is really a
testament to the game being able to operate where OpenGL wasn't available or
wasn't working properly. If an expectation fails, it tries to gracefully
degrade the game function, rather than just error and halt.

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