=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: Bind the src in a manual presentation blit.

Alexandre Julliard julliard at winehq.org
Wed Dec 5 13:43:10 CST 2012


Module: wine
Branch: master
Commit: 7b95df03c683e52b31d0e6a9e9e81072139c8f14
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b95df03c683e52b31d0e6a9e9e81072139c8f14

Author: Stefan Dösinger <stefan at 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. */




More information about the wine-cvs mailing list