Module: wine Branch: master Commit: 7b95df03c683e52b31d0e6a9e9e81072139c8f14 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b95df03c683e52b31d0e6a9e9...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Dec 5 09:01:33 2012 +0100
wined3d: Bind the src in a manual presentation blit.
---
dlls/wined3d/swapchain.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index 2fa221a..83d2ab5 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -366,6 +366,7 @@ static void swapchain_blit(const struct wined3d_swapchain *swapchain,
ENTER_GL(); context_apply_fbo_state_blit(context2, GL_FRAMEBUFFER, swapchain->front_buffer, NULL, SFLAG_INDRAWABLE); + context_bind_texture(context2, backbuffer->texture_target, backbuffer->texture_name);
/* Set up the texture. The surface is not in a wined3d_texture * container, so there are no D3D texture settings to dirtify. */