[PATCH 03/15] wined3d: In palette9_changed skip check if dxVersion <= 7.

Alexander Dorofeyev alexd4 at inbox.lv
Sun Apr 6 17:46:06 CDT 2008

Stefan Dösinger wrote:
> Am Sonntag, 6. April 2008 23:05:52 schrieb Alexander Dorofeyev:
>> Stops it from producing misleading messages in apps that don't use d3d8/9
>> style palettes.
> Is there no other way to do this? In my opinion dxVersion checks are ugly and 
> dxVersion should go away

Not that I'm aware of. Of course, callers of palette9_changed could do that 
check, but that isn't a meaningful difference. But somewhere it got to be 
determined whether device palettes or per-surface palettes are used, and the one 
and only thing that decides it is the version of directx used.

More information about the wine-devel mailing list