Skip to content

Commit 454e093

Browse files
committed
Fix issue with DeleteStateBlock()
Fixes #198
1 parent 4ff17a7 commit 454e093

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dllmain/BuildNo.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILD_NUMBER 6662
1+
#define BUILD_NUMBER 6663

ddraw/IDirect3DDeviceX.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,6 +2634,8 @@ HRESULT m_IDirect3DDeviceX::DeleteStateBlock(DWORD dwBlockHandle)
26342634

26352635
// ToDo: Validate BlockHandle
26362636
reinterpret_cast<IDirect3DStateBlock9*>(dwBlockHandle)->Release();
2637+
2638+
return DD_OK;
26372639
}
26382640

26392641
return GetProxyInterfaceV7()->DeleteStateBlock(dwBlockHandle);

0 commit comments

Comments
 (0)