summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-05 20:11:15 +0200
committerMarek Olšák <[email protected]>2012-10-10 00:17:01 +0200
commitef723613e017ba33e9d9568ae59eb9faab80aba2 (patch)
tree906eb565de3640e5c57d4c3c46e420a0755cc94f /src/gallium/drivers/r600/r600_pipe.c
parent711f3bae9d8bde9750448c23fde4a15efbcfacb5 (diff)
r600g: atomize depth-stencil-alpha state
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index ba1954f5e0f..545441482de 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -178,10 +178,6 @@ static void r600_destroy_context(struct pipe_context *context)
if (rctx->blitter) {
util_blitter_destroy(rctx->blitter);
}
- for (int i = 0; i < R600_PIPE_NSTATES; i++) {
- free(rctx->states[i]);
- }
-
if (rctx->uploader) {
u_upload_destroy(rctx->uploader);
}