瀏覽代碼

mesa/st: protect internal flushes with FLUSH_CURRENT

Already doing this for driver.flush()
tags/mesa_7_5_rc1
Keith Whitwell 16 年之前
父節點
當前提交
801a33ae44
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/mesa/state_tracker/st_cb_flush.c

+ 1
- 1
src/mesa/state_tracker/st_cb_flush.c 查看文件

@@ -82,7 +82,7 @@ display_front_buffer(struct st_context *st)
void st_flush( struct st_context *st, uint pipeFlushFlags,
struct pipe_fence_handle **fence )
{
FLUSH_VERTICES(st->ctx, 0);
FLUSH_CURRENT(st->ctx, 0);

/* Release any vertex buffers that might potentially be accessed in
* successive frames:

Loading…
取消
儲存