d3dx9: Use temporary surface in D3DXFillTexture() for unmappable textures.
commit4e44d74afb12b40f673e3be0a91cd523013544cd
authorPaul Gofman <gofmanp@gmail.com>
Mon, 14 Jan 2019 20:45:09 +0000 (14 21:45 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Jan 2019 15:31:31 +0000 (23 16:31 +0100)
tree8e6eaf36bbed9b4dac610b39dfa5430282c3e2dc
parent33be8439fc95ca8f005bd3a2b6790c101842c02e
d3dx9: Use temporary surface in D3DXFillTexture() for unmappable textures.

Fixes a regression triggered by commit 949dbbd31f450178c90ea8267097a975b77c3219.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46453
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3dx9_36/d3dx9_private.h
dlls/d3dx9_36/surface.c
dlls/d3dx9_36/tests/texture.c
dlls/d3dx9_36/texture.c