diff options
-rw-r--r-- | src/gallium/state_trackers/nine/swapchain9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/swapchain9.c b/src/gallium/state_trackers/nine/swapchain9.c index bf87aaf042e..24ff905cd14 100644 --- a/src/gallium/state_trackers/nine/swapchain9.c +++ b/src/gallium/state_trackers/nine/swapchain9.c @@ -467,7 +467,7 @@ NineSwapChain9_dtor( struct NineSwapChain9 *This ) if (This->buffers) { for (i = 0; i < This->params.BackBufferCount; i++) { - NineUnknown_Destroy(NineUnknown(This->buffers[i])); + NineUnknown_Release(NineUnknown(This->buffers[i])); ID3DPresent_DestroyD3DWindowBuffer(This->present, This->present_handles[i]); if (This->present_buffers) pipe_resource_reference(&(This->present_buffers[i]), NULL); |