Browse Source

u_blitter: fix a memory leak

tags/mesa-7.9-rc1
Marek Olšák 16 years ago
parent
commit
a9b20d4597
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/auxiliary/util/u_blitter.c

+ 1
- 0
src/gallium/auxiliary/util/u_blitter.c View File

@@ -254,6 +254,7 @@ void util_blitter_destroy(struct blitter_context *blitter)
ctx->dsa_write_depth_keep_stencil);
pipe->delete_depth_stencil_alpha_state(pipe, ctx->dsa_write_depth_stencil);
pipe->delete_depth_stencil_alpha_state(pipe, ctx->dsa_keep_depth_write_stencil);
pipe->delete_depth_stencil_alpha_state(pipe, ctx->dsa_flush_depth_stencil);

pipe->delete_rasterizer_state(pipe, ctx->rs_state);
pipe->delete_vs_state(pipe, ctx->vs_col);

Loading…
Cancel
Save