diff options
Diffstat (limited to 'src/d3d11/d3d11_texture.cpp')
-rw-r--r-- | src/d3d11/d3d11_texture.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d3d11/d3d11_texture.cpp b/src/d3d11/d3d11_texture.cpp index 7a8c6043..b75908e1 100644 --- a/src/d3d11/d3d11_texture.cpp +++ b/src/d3d11/d3d11_texture.cpp @@ -1099,7 +1099,7 @@ namespace dxvk { m_texture (this, pDevice, pDesc, p11on12Info, D3D11_RESOURCE_DIMENSION_TEXTURE1D, 0, VK_NULL_HANDLE, nullptr), m_interop (this, &m_texture), m_surface (this, &m_texture), - m_resource(this), + m_resource(this, pDevice), m_d3d10 (this) { } @@ -1205,7 +1205,7 @@ namespace dxvk { m_texture (this, pDevice, pDesc, p11on12Info, D3D11_RESOURCE_DIMENSION_TEXTURE2D, 0, VK_NULL_HANDLE, hSharedHandle), m_interop (this, &m_texture), m_surface (this, &m_texture), - m_resource (this), + m_resource (this, pDevice), m_d3d10 (this), m_swapChain (nullptr) { } @@ -1220,7 +1220,7 @@ namespace dxvk { m_texture (this, pDevice, pDesc, nullptr, D3D11_RESOURCE_DIMENSION_TEXTURE2D, DxgiUsage, vkImage, nullptr), m_interop (this, &m_texture), m_surface (this, &m_texture), - m_resource (this), + m_resource (this, pDevice), m_d3d10 (this), m_swapChain (nullptr) { @@ -1236,7 +1236,7 @@ namespace dxvk { m_texture (this, pDevice, pDesc, nullptr, D3D11_RESOURCE_DIMENSION_TEXTURE2D, DxgiUsage, VK_NULL_HANDLE, nullptr), m_interop (this, &m_texture), m_surface (this, &m_texture), - m_resource (this), + m_resource (this, pDevice), m_d3d10 (this), m_swapChain (pSwapChain) { @@ -1384,7 +1384,7 @@ namespace dxvk { : D3D11DeviceChild<ID3D11Texture3D1>(pDevice), m_texture (this, pDevice, pDesc, p11on12Info, D3D11_RESOURCE_DIMENSION_TEXTURE3D, 0, VK_NULL_HANDLE, nullptr), m_interop (this, &m_texture), - m_resource(this), + m_resource(this, pDevice), m_d3d10 (this) { } |