mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d8] Remove several empty explicit destructors
This commit is contained in:
parent
2de6194313
commit
da4301e212
3 changed files with 0 additions and 7 deletions
|
@ -38,8 +38,6 @@ namespace dxvk {
|
||||||
: D3D8StateBlock(pDevice, D3DSTATEBLOCKTYPE(0), nullptr) {
|
: D3D8StateBlock(pDevice, D3DSTATEBLOCKTYPE(0), nullptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
D3D8StateBlock::~D3D8StateBlock() {}
|
|
||||||
|
|
||||||
// Attach a D3D9 object to a state block that doesn't have one yet
|
// Attach a D3D9 object to a state block that doesn't have one yet
|
||||||
void D3D8StateBlock::SetD3D9(Com<d3d9::IDirect3DStateBlock9>&& pStateBlock) {
|
void D3D8StateBlock::SetD3D9(Com<d3d9::IDirect3DStateBlock9>&& pStateBlock) {
|
||||||
if (likely(m_stateBlock == nullptr)) {
|
if (likely(m_stateBlock == nullptr)) {
|
||||||
|
|
|
@ -43,8 +43,6 @@ namespace dxvk {
|
||||||
|
|
||||||
D3D8StateBlock(D3D8Device* pDevice);
|
D3D8StateBlock(D3D8Device* pDevice);
|
||||||
|
|
||||||
~D3D8StateBlock();
|
|
||||||
|
|
||||||
void SetD3D9(Com<d3d9::IDirect3DStateBlock9>&& pStateBlock);
|
void SetD3D9(Com<d3d9::IDirect3DStateBlock9>&& pStateBlock);
|
||||||
|
|
||||||
HRESULT Capture();
|
HRESULT Capture();
|
||||||
|
|
|
@ -22,9 +22,6 @@ namespace dxvk {
|
||||||
m_container(pBaseTexture) {
|
m_container(pBaseTexture) {
|
||||||
}
|
}
|
||||||
|
|
||||||
~D3D8Subresource() {
|
|
||||||
}
|
|
||||||
|
|
||||||
// Refing subresources implicitly refs the container texture,
|
// Refing subresources implicitly refs the container texture,
|
||||||
ULONG STDMETHODCALLTYPE AddRef() final {
|
ULONG STDMETHODCALLTYPE AddRef() final {
|
||||||
if (m_container != nullptr)
|
if (m_container != nullptr)
|
||||||
|
|
Loading…
Add table
Reference in a new issue