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>
This commit is contained in:
Henri Verbeet 2017-03-26 20:56:03 +02:00 committed by Alexandre Julliard
parent a6862f9170
commit 0a1a6533b5
1 changed files with 1 additions and 1 deletions

View File

@ -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