Module: Mesa Branch: master Commit: 4ccee747257192ef584d26d8854f8bc17cc57284 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ccee747257192ef584d26d8854f8bc17cc57284
Author: Brian Paul <[email protected]> Date: Thu Apr 29 09:33:39 2010 -0600 cso: remove commented-out code, update function docs --- src/gallium/auxiliary/cso_cache/cso_context.c | 5 ++++- 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 6d0b420..c5fe7ef 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 ); } } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
