• Alexander Dorofeyev's avatar
    ddraw: Improve IDirect3DDevice7_Load implementation. · e2ff0776
    Alexander Dorofeyev authored
    Copies palette and colorkey earlier in the helper function, before
    copying image, also skips UpdateSurface when palette is missing. This
    prevents unnecessary surface (re)loads in wined3d, and gets rid of
    some wined3d palette error messages in Sacrifice.
    e2ff0776
device.c 261 KB