From 0a1a6533b52273b840428e50ba256fbcf26eb562 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 26 Mar 2017 20:56:03 +0200 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- 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 a9eb997f4ec..84444379fd4 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