diff --git a/src/d3d9/d3d9_surface.cpp b/src/d3d9/d3d9_surface.cpp index b36c72036..46ac75ac9 100644 --- a/src/d3d9/d3d9_surface.cpp +++ b/src/d3d9/d3d9_surface.cpp @@ -43,8 +43,6 @@ namespace dxvk { else if (m_container != nullptr && !swapchain) { // Container must be a swapchain if it isn't a base texture. static_cast(m_container)->AddRefPrivate(); - - return; } D3D9SurfaceBase::AddRefPrivate(); @@ -63,8 +61,6 @@ namespace dxvk { else if (m_container != nullptr && !swapchain) { // Container must be a swapchain if it isn't a base texture. static_cast(m_container)->ReleasePrivate(); - - return; } D3D9SurfaceBase::ReleasePrivate();