瀏覽代碼

gallium: Fix typo.

tags/mesa_20090313
José Fonseca 17 年之前
父節點
當前提交
135a0dd75c
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      src/gallium/auxiliary/util/u_gen_mipmap.c

+ 1
- 3
src/gallium/auxiliary/util/u_gen_mipmap.c 查看文件

@@ -580,7 +580,6 @@ make_1d_mipmap(struct gen_mipmap_state *ctx,
{
struct pipe_context *pipe = ctx->pipe;
struct pipe_screen *screen = pipe->screen;
struct pipe_winsys *winsys = pipe->winsys;
const uint zslice = 0;
uint dstLevel;

@@ -622,7 +621,6 @@ make_2d_mipmap(struct gen_mipmap_state *ctx,
{
struct pipe_context *pipe = ctx->pipe;
struct pipe_screen *screen = pipe->screen;
struct pipe_winsys *winsys = pipe->winsys;
const uint zslice = 0;
uint dstLevel;
@@ -829,7 +827,7 @@ util_destroy_gen_mipmap(struct gen_mipmap_state *ctx)
FREE((void*) ctx->vert_shader.tokens);
FREE((void*) ctx->frag_shader.tokens);

pipe_buffer_reference(pipe->winsys, &ctx->vbuf, NULL);
pipe_buffer_reference(pipe->screen, &ctx->vbuf, NULL);

FREE(ctx);
}

Loading…
取消
儲存