Re: [PATCH 4/6] wined3d: Make code safe if there are no device palettes.

2008-03-09 Thread Roderick Colenbrander
There are two types of palettes in wined3d: directx = 7 style palettes as separate interface and d3d = 8 style device palettes. Some code was defaulting to device palettes in several places if there's no old style palette and using device palettes to store ddraw primary surface's palette.

Re: [PATCH 4/6] wined3d: Make code safe if there are no device palettes.

2008-03-09 Thread Alexander Dorofeyev
Roderick Colenbrander wrote: First of all it appears that this patch contains multiple patches (e.g. the direct3d9 getdc p8 check is one). I'll mention some others below. The p8 code is very sensitive to bugs and those are most of the time very hard to fix, so I'm quite strict. Various