Module: wine Branch: master Commit: 0a1a6533b52273b840428e50ba256fbcf26eb562 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0a1a6533b52273b840428e50ba...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Mar 26 20:56:03 2017 +0200
wined3d: Use WINED3D_BLT_SRC_CKEY to present the logo texture.
WINED3D_BLT_ALPHA_TEST makes no sense, since the texture doesn't have an alpha channel.
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/swapchain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index a9eb997..8444437 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -450,7 +450,7 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain,
/* Blit the logo into the upper left corner of the drawable. */ wined3d_texture_blt(back_buffer, 0, &rect, logo_texture, 0, &rect, - WINED3D_BLT_ALPHA_TEST, NULL, WINED3D_TEXF_POINT); + WINED3D_BLT_SRC_CKEY, NULL, WINED3D_TEXF_POINT); }
if (swapchain->device->bCursorVisible && swapchain->device->cursor_texture