From: Brian Paul Date: Thu, 29 Apr 2010 15:33:39 +0000 (-0600) Subject: cso: remove commented-out code, update function docs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ccee747257192ef584d26d8854f8bc17cc57284;p=mesa.git cso: remove commented-out code, update function docs --- diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 6d0b4207986..c5fe7efa028 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 ); } }