Skip to content

Commit

Permalink
[d3d9] Don't private reference additional swapchains
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Aug 7, 2020
1 parent e7d9d47 commit f1aa80d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3487,8 +3487,6 @@ namespace dxvk {
try {
auto* swapchain = new D3D9SwapChainEx(this, pPresentationParameters, pFullscreenDisplayMode);
*ppSwapChain = ref(swapchain);

swapchain->AddRefPrivate();
}
catch (const DxvkError & e) {
Logger::err(e.message());
Expand Down

0 comments on commit f1aa80d

Please sign in to comment.