http://bugs.winehq.org/show_bug.cgi?id=26875
--- Comment #9 from Ivanov d137@abv.bg 2011-07-26 01:04:33 CDT --- So does the deperados ui has any differences for you with the cflags ?
(In reply to comment #8)
Created an attachment (id=35692)
--> (http://bugs.winehq.org/attachment.cgi?id=35692) [details]
screenshot, comparison (Wine-1.3.25, CFLAG -O0 vs. -O2)
I'd like to add a strange discovery to my previous comment where I stated that the UI is drawn correctly in Robin Hood with 1.3.21 or newer. This is because of the fact that 1.3.20 was compiled with CFLAG=-O0 on my system but 1.3.21 (and newer versions) are compiled with -O2.
Here I'm attaching an image showing the difference between -O0 and -O2 in Robin Hood. Both pictures were taken with Wine-1.3.25.
With -O2 the UI is drawn correctly (in the upper right corner and at the bottom of the screen). However, the mouse pointer is semi-transparent (nearly in the middle of the screen).
On the other hand (CFLAG=-O0, lower picture), the UI is not drawn but the mouse pointer is fully visible.
A similar difference can be observed in Desperados, too (the minimap is fully drawn with -O2 but semi-transparent with -O0).
Fedora 15 gcc version 4.6.0 20110530 (Red Hat 4.6.0-9) (GCC)