http://bugs.winehq.org/show_bug.cgi?id=12194
--- Comment #9 from Alexander Dorofeyev alexd4@inbox.lv 2008-05-12 17:43:06 --- Created an attachment (id=12985) --> (http://bugs.winehq.org/attachment.cgi?id=12985) proposed fix
Ok i think i found the problem. I believe RealizePalette was sometimes wrongly copying back buffer surface to screen. The check must probably be replaced with == ddraw_primary as in e.g. UnlockRect. That fixes gamma options flicker for me (and that's the only flicker i saw).
Please test this fix and let me know if it fixes all issues.