http://bugs.winehq.org/show_bug.cgi?id=3192
------- Additional Comments From lionel.ulmer@free.fr 2005-09-08 15:33 ------- Well, as gamma control is not something mandatory for games and that some games (proof here) abort if these function return an error, there is no harm to make the game believe the call works (if we did not do that, no game at all would run as there is a lot of stubs for 'optionnal' stuff).
For example, when in Desktop mode and as X11 does not support 'per-window' gamma (well actually I think that some visuals do support it), gamma support can be disabled. And why would we stop supporting some games because the user does not want his gamma be changed ?
Now this is why I want first to check why we return an error here, and if it's for a 'good' reason, I do not see the problem of just making the application believe the call succeeded.