diff options
author | José Fonseca <[email protected]> | 2007-11-16 17:36:35 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2007-11-17 15:39:36 +0000 |
commit | dec60d33b2570cf2bdce72a00a1539ee93133f91 (patch) | |
tree | fa153cff2b98e93d56958faf165d99c523786241 /src/mesa/pipe/i915simple/i915_context.c | |
parent | 34a00276c7b2ee8ab88a56905352023f8a435a53 (diff) |
Proper fence reference counting.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.c b/src/mesa/pipe/i915simple/i915_context.c index e43274dc667..f5d770ce0df 100644 --- a/src/mesa/pipe/i915simple/i915_context.c +++ b/src/mesa/pipe/i915simple/i915_context.c @@ -175,6 +175,8 @@ static void i915_destroy( struct pipe_context *pipe ) draw_destroy( i915->draw ); + i915->winsys->fence_reference( i915->winsys, &i915->last_fence, NULL ); + free( i915 ); } |