From f3a081953393c7d40bd8df9ec22a2551d01098f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 23 Sep 2015 02:33:24 +0200 Subject: [PATCH] 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 Tested-by: Ilia Mirkin --- src/mesa/state_tracker/st_cb_blit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c index 4fdef7fb5a6..a05a5aff4c6 100644 --- a/src/mesa/state_tracker/st_cb_blit.c +++ b/src/mesa/state_tracker/st_cb_blit.c @@ -229,6 +229,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 */ } } } @@ -266,6 +267,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 */ } } } -- 2.30.2