https://bugs.winehq.org/show_bug.cgi?id=19471
--- Comment #19 from Paul Gofman gofmanp@gmail.com --- Created attachment 65804 --> https://bugs.winehq.org/attachment.cgi?id=65804 test program
An addition to comment #18, p. 1.
Application actually wants the text rendered with DrawText to have nonzero color, not alpha. Yet it does not work like that on the modern Windows, color 0xffffffff seems to be treated like palette index 0 no matter what, just like in Wine. And the same happens if the application ddraw sequence is emulated.
The application actually stops rendering text on Windows just the same way as under Wine if the application .exe is renamed. All the other rendering stays ok. And starts rendering text again if I set compatibility mode to Windows 98 / Windows ME for this application. So Windows seem to auto enable the compatibility profile.
I am attaching the test program which reproduces what Wine ddraw / wined3d does for DC creation and tries to render text through gdi with color 0xffffffff. This program renders text with color 0 by default, but I can get colors 0x7fff (as the game expects) if turn on Windows 98 / Windows ME compatibility mode for the test program.