diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c index b764d9c..1f6a64e 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c +++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c @@ -379,7 +379,10 @@ pstip_update_texture(struct pstip_stage *pstip) /* XXX: want to avoid flushing just because we use stipple: */ - pipe->flush( pipe, PIPE_FLUSH_TEXTURE_CACHE, NULL ); + /*st_validate_state=>update_stipple=>pstip_set_polygon_stipple + should not call flush during the stage of validating state, for the scene has not been created + */ +// pipe->flush( pipe, PIPE_FLUSH_TEXTURE_CACHE, NULL ); surface = screen->get_tex_surface(screen, pstip->texture, 0, 0, 0, PIPE_BUFFER_USAGE_CPU_WRITE);