diff options
author | Ilia Mirkin <[email protected]> | 2014-05-10 10:25:29 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-05-11 19:26:31 -0400 |
commit | 64a7ddf40de45ad964502c3b05392b0190464177 (patch) | |
tree | adac3ef74c33e267732e45be4add73113cc0cab1 /src/mesa/state_tracker/st_cb_blit.c | |
parent | 752ce0affb1bc45a3caa67b7a2788eec30a9f85f (diff) |
mesa/st: leave current query enabled during glBlitFramebuffer
Also make sure that pipe_blit_info gets zero'd out so that query isn't
accidentally left enabled.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "10.2" <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_blit.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_blit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c index a5a0d2d8d26..9c33f4eb99c 100644 --- a/src/mesa/state_tracker/st_cb_blit.c +++ b/src/mesa/state_tracker/st_cb_blit.c @@ -187,6 +187,7 @@ st_BlitFramebuffer(struct gl_context *ctx, } blit.filter = pFilter; + blit.render_condition_enable = TRUE; if (mask & GL_COLOR_BUFFER_BIT) { struct gl_renderbuffer_attachment *srcAtt = |