summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/cso_cache/cso_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.c')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c
index 8cf2313b7f..b4609e999b 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/src/gallium/auxiliary/cso_cache/cso_context.c
@@ -106,7 +106,7 @@ out:
/**
* Prior to context destruction, this function unbinds all state objects.
*/
-static void cso_release_all( struct cso_context *ctx )
+void cso_release_all( struct cso_context *ctx )
{
unsigned i;
@@ -134,7 +134,7 @@ static void cso_release_all( struct cso_context *ctx )
void cso_destroy_context( struct cso_context *ctx )
{
if (ctx) {
- cso_release_all( ctx );
+ //cso_release_all( ctx );
FREE( ctx );
}
}