1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[d3d9] Add alternate constructor for D3D9Surface

This commit is contained in:
Jeff 2024-10-14 20:56:30 -07:00 committed by Philip Rebohle
parent a044c639f7
commit 25069dbd1d
2 changed files with 15 additions and 2 deletions

View File

@ -20,6 +20,15 @@ namespace dxvk {
nullptr,
pContainer) { }
D3D9Surface::D3D9Surface(
D3D9DeviceEx* pDevice,
const D3D9_COMMON_TEXTURE_DESC* pDesc)
: D3D9Surface(
pDevice,
pDesc,
nullptr,
nullptr) { }
D3D9Surface::D3D9Surface(
D3D9DeviceEx* pDevice,
D3D9CommonTexture* pTexture,

View File

@ -20,8 +20,12 @@ namespace dxvk {
D3D9Surface(
D3D9DeviceEx* pDevice,
const D3D9_COMMON_TEXTURE_DESC* pDesc,
IUnknown* pContainer = nullptr,
HANDLE* pSharedHandle = nullptr);
IUnknown* pContainer,
HANDLE* pSharedHandle);
D3D9Surface(
D3D9DeviceEx* pDevice,
const D3D9_COMMON_TEXTURE_DESC* pDesc);
D3D9Surface(
D3D9DeviceEx* pDevice,