[PATCH 1/5] wined3d: Dirtify STATE_FRAMEBUFFER after a FBO depth blit.

Matteo Bruni mbruni at codeweavers.com
Wed Jan 18 16:41:32 CST 2012


---
 dlls/wined3d/surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index df5855e..3462cab 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1074,6 +1074,7 @@ static void wined3d_surface_depth_blt_fbo(const struct wined3d_device *device, s
     context_apply_fbo_state_blit(context, GL_DRAW_FRAMEBUFFER, NULL, dst_surface, SFLAG_INTEXTURE);
     context_set_draw_buffer(context, GL_NONE);
     context_check_fbo_status(context, GL_DRAW_FRAMEBUFFER);
+    context_invalidate_state(context, STATE_FRAMEBUFFER);
 
     if (gl_mask & GL_DEPTH_BUFFER_BIT)
     {
-- 
1.7.3.4




More information about the wine-patches mailing list