https://bugs.winehq.org/show_bug.cgi?id=54701
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|leslie_alistair@hotmail.com |stefan@codeweavers.com |, z.figura12@gmail.com |
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Bisect revealed:
8bddb9808eb5b79bc03a06c20a9b23fc34537d5e is the first bad commit commit 8bddb9808eb5b79bc03a06c20a9b23fc34537d5e Author: Stefan Dösinger stefan@codeweavers.com Date: Mon Jul 25 10:09:29 2022 +0300
ddraw: Don't account video memory for sysmem surfaces' draw textures.
Star Trek Starfleet Academy does not like it when available video memory goes down after creating a system memory resource. It destroys all its textures and recreates them, and in some sitations forgets to recreate one or another texture, resulting in rendering bugs.
I suspect the game is trying to detect focus loss by monitoring for unexpected video memory changes.
dlls/ddraw/surface.c | 1 + 1 file changed, 1 insertion(+)