ddraw: Improve IDirect3DDevice7_Load implementation.
commite2ff077697ce0f7eb9b60e88895349effa4e979b
authorAlexander Dorofeyev <alexd4@inbox.lv>
Sun, 20 Jul 2008 20:28:44 +0000 (20 23:28 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 22 Jul 2008 13:20:33 +0000 (22 15:20 +0200)
tree463755dae14f10f0dfa4dcb8b2f6624e9dfdf004
parente468ab3585d3d2067350fb6596187cd5f6f5b90e
ddraw: Improve IDirect3DDevice7_Load implementation.

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.
dlls/ddraw/device.c