Commit 0a1a6533 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent a6862f91
...@@ -450,7 +450,7 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain, ...@@ -450,7 +450,7 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain,
/* Blit the logo into the upper left corner of the drawable. */ /* Blit the logo into the upper left corner of the drawable. */
wined3d_texture_blt(back_buffer, 0, &rect, logo_texture, 0, &rect, 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 if (swapchain->device->bCursorVisible && swapchain->device->cursor_texture
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment