diff options
Diffstat (limited to 'src/gallium')
-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 feaece2f77f..9815acf7a4a 100644 --- a/src/gallium/state_trackers/nine/swapchain9.c +++ b/src/gallium/state_trackers/nine/swapchain9.c @@ -508,7 +508,7 @@ NineSwapChain9_dtor( struct NineSwapChain9 *This ) for (i = 0; i < This->num_back_buffers; i++) { if (This->buffers[i]) - NineUnknown_Release(NineUnknown(This->buffers[i])); + NineUnknown_Detach(NineUnknown(This->buffers[i])); if (This->present_handles[i]) ID3DPresent_DestroyD3DWindowBuffer(This->present, This->present_handles[i]); if (This->present_buffers[i]) |