[PATCH 6/6] wined3d: Dirtify p8 textures when device palettes change.
stefan at codeweavers.com
Sun Mar 9 12:42:55 CDT 2008
Am Sonntag, 9. März 2008 15:10:54 schrieb Alexander Dorofeyev:
> Fixes problems with properly updating wine's P8 textures, when it is
> required because of device palette change.
Instead of iterating over all resources and finding P8 textures I think it
would be nicer to store the palette the texture/surface was loaded with in
each P8 / A8P8 surface and compare this stored palette to the current device
palette in IWineD3DSurface::PreLoad(non-texture path) and
With this, patch 4 could maybe be made nicer as well. If we have to verify the
palettes anyway, we can remove the DDraw-Style IWineD3DPalette interface from
WineD3D altogether, and just give each ddraw palette in ddraw.dll a WineD3D
palette number and use the d3d8/9 palette management exclusively in WineD3D
and avoid the confusion of having two palette interfaces.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080309/1f2bee4c/attachment.pgp
More information about the wine-patches