OSDN Git Service

cso: remove commented-out code, update function docs
authorBrian Paul <brianp@vmware.com>
Thu, 29 Apr 2010 15:33:39 +0000 (09:33 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 29 Apr 2010 15:39:17 +0000 (09:39 -0600)
src/gallium/auxiliary/cso_cache/cso_context.c

index 6d0b420..c5fe7ef 100644 (file)
@@ -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 );
    }
 }