diff options
author | Joakim Sindholt <[email protected]> | 2010-09-26 19:03:02 +0200 |
---|---|---|
committer | Joakim Sindholt <[email protected]> | 2010-09-26 19:03:02 +0200 |
commit | b51f6e7c2350f637337fc3935436e2f99f669dfd (patch) | |
tree | a4aeb9a8147d56ab62126d71ddaa87507e80315d /src | |
parent | bc8b8d06b672f19d91fda835d38083d5751299f2 (diff) |
util/u_blitter: fix leak
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index c160716e6a7..a163f93cb82 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -268,7 +268,7 @@ void util_blitter_destroy(struct blitter_context *blitter) pipe->delete_fs_state(pipe, ctx->fs_texfetch_depth[i]); } - for (i = 0; i <= PIPE_MAX_COLOR_BUFS && ctx->fs_col[i]; i++) + for (i = 0; i <= PIPE_MAX_COLOR_BUFS; i++) if (ctx->fs_col[i]) pipe->delete_fs_state(pipe, ctx->fs_col[i]); |