https://bugs.winehq.org/show_bug.cgi?id=42335
Bug ID: 42335 Summary: Jedi Knight Dark Forces II / DirectX7 incorrectly rendered Product: Wine Version: 2.0 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: winemac.drv Assignee: wine-bugs@winehq.org Reporter: kevincarrolldavis@gmail.com
Rending Problem
- In full screen mode - Menu section: Screen flickers back and forth between different menu screen as the mouse hovers over various menu items
In Game: When 3D Acceleration is turned on, magenta colored pixels randomly appear within an inch wide band that spans the width of the screen about 1/3 of the way up to the top of the screen. Rendering is also dark and flickers
- In windowed mode (command switch "-windowgui") - Menu Section: Application only renders when user Alt+tabs back and forth in and out of the application
In Game: Everything runs fine
-----------------------------
This wasn't a problem back in wine-1.6-rc2. I ran a diff on the source code between this version and wine-2.0, and the most salient difference, given the nature of the color issues, I guessed was the added "updateColorSpace" function within the winemac.drv/cocoa_window.m file. Sure enough after commenting out the following line:
[self SetColorSpace:nil];
The game rendered fine. As a side note, these color issues also occurred when running a direct3D test for directx7 with dxdiag.exe, but not with directx8 or 9.