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
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.