aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-09-23 02:33:24 +0200
committerEmil Velikov <[email protected]>2015-09-30 21:54:36 +0100
commit1805e6473992b5e4c083bfd1ba2acee33ad9fbd8 (patch)
treeb969a9adc693536497c035142e2b0b5283a42a6f /src
parent5b6ac61231902ea5b9948bc0770e6c40c007a5c5 (diff)
st/mesa: fix front buffer regression after dropping st_validate_state in Blit
Broken by: d082c5324914212f76e45be497229c7a0681f706 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92072 Cc: 10.6 11.0 <[email protected]> Tested-by: Ilia Mirkin <[email protected]> (cherry picked from commit f3a081953393c7d40bd8df9ec22a2551d01098f5)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_blit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c
index 139690615d6..99ad421b9ee 100644
--- a/src/mesa/state_tracker/st_cb_blit.c
+++ b/src/mesa/state_tracker/st_cb_blit.c
@@ -228,6 +228,7 @@ st_BlitFramebuffer(struct gl_context *ctx,
st_adjust_blit_for_msaa_resolve(&blit);
st->pipe->blit(st->pipe, &blit);
+ dstRb->defined = true; /* front buffer tracking */
}
}
}
@@ -265,6 +266,7 @@ st_BlitFramebuffer(struct gl_context *ctx,
st_adjust_blit_for_msaa_resolve(&blit);
st->pipe->blit(st->pipe, &blit);
+ dstRb->defined = true; /* front buffer tracking */
}
}
}