[PATCH 5/5] wined3d: Use WINED3D_BLT_SRC_CKEY to present the logo texture.
Henri Verbeet
hverbeet at codeweavers.com
Sun Mar 26 13:56:03 CDT 2017
WINED3D_BLT_ALPHA_TEST makes no sense, since the texture doesn't have an alpha
channel.
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
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
--
2.1.4
More information about the wine-patches
mailing list