mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
st/mesa: don't call st_validate_state in BlitFramebuffer
None of the draw states are used here.
This fixes a crash in piglit: ext_framebuffer_blit/blit-early
Calling st_manager_validate_framebuffers is the minimum requirement here.
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit d082c53249)
This commit is contained in:
parent
c33ca1696a
commit
504903b827
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@
|
|||
#include "st_cb_bitmap.h"
|
||||
#include "st_cb_blit.h"
|
||||
#include "st_cb_fbo.h"
|
||||
#include "st_atom.h"
|
||||
#include "st_manager.h"
|
||||
|
||||
#include "util/u_format.h"
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ st_BlitFramebuffer(struct gl_context *ctx,
|
|||
} clip;
|
||||
struct pipe_blit_info blit;
|
||||
|
||||
st_validate_state(st);
|
||||
st_manager_validate_framebuffers(st);
|
||||
|
||||
/* Make sure bitmap rendering has landed in the framebuffers */
|
||||
st_flush_bitmap_cache(st);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue