https://bugs.winehq.org/show_bug.cgi?id=55341
Bug ID: 55341 Summary: Colin McRae Rally 2.0 since wine 8.4 shows just black screen Product: Wine Version: 8.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: marcinzw@gmail.com Distribution: ---
Before wine 8.4 the game worked flawlessly, but now even through all version up to the wine 8.13 and latest git version shows only a black screen after intro. I was hoping that the next versions will fix the problem (I stayed with wine 8.3 until now) but it doesn't happen. So I bisected and find the commit 46c8a637525d0f1cf67830295fb460c819b800b6 is the problem. Exactly just one change in file dlls/winex11.drv/opengl.c in line 1405 (line number from latest git repo)
+ win32u_set_window_pixel_format( hwnd, pixel_format_index( format ), FALSE) - win32u_set_window_pixel_format( hwnd, pixel_format_index( format ), internal );
This reverts one of the change made in this commit and fixes problem with a black screen with latest git version as well. I hope this change (or similar which resolve the problem) can be applied.