[1/3] wined3d: Fix context_apply_blit_state(). (resend)

Matteo Bruni matteo.mystral at gmail.com
Wed Jun 22 07:01:16 CDT 2011


-------------- next part --------------
From e9cff6a218153fce28732ea75643e2383ca7db94 Mon Sep 17 00:00:00 2001
From: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue, 21 Jun 2011 18:08:27 +0200
Subject: wined3d: Fix context_apply_blit_state().

It should have been in 002674e49d3343d2ad4670081276e38af867eefe,
although only with c23a5443c16e03ee5668038fa72bd16792aff9e7 the bug was
exposed.
---
 dlls/wined3d/context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 40b9cee..872ba03 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -2129,7 +2129,7 @@ void context_apply_blit_state(struct wined3d_context *context, struct wined3d_de
     ENTER_GL();
     if (rt_mask != context->draw_buffers_mask)
     {
-        context_apply_draw_buffers(context, 1, &context->current_rt);
+        context_apply_draw_buffers(context, rt_mask, &context->current_rt);
         context->draw_buffers_mask = rt_mask;
     }
 
-- 
1.7.3.4


More information about the wine-patches mailing list