summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/cso_cache
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-29 09:33:39 -0600
committerBrian Paul <brianp@vmware.com>2010-04-29 09:39:17 -0600
commit4ccee747257192ef584d26d8854f8bc17cc57284 (patch)
tree164353acb15d283b15f2b494bbfcd77b6797850c /src/gallium/auxiliary/cso_cache
parent60a6bfefd115b93aaae2a3e11191ecb22ec65f56 (diff)
cso: remove commented-out code, update function docs
Diffstat (limited to 'src/gallium/auxiliary/cso_cache')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c
index 6d0b420798..c5fe7efa02 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/src/gallium/auxiliary/cso_cache/cso_context.c
@@ -313,10 +313,13 @@ void cso_release_all( struct cso_context *ctx )
}
+/**
+ * Free the CSO context. NOTE: the state tracker should have previously called
+ * cso_release_all().
+ */
void cso_destroy_context( struct cso_context *ctx )
{
if (ctx) {
- /*cso_release_all( ctx );*/
FREE( ctx );
}
}