mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Update miniwin/miniwin/src/miniwin_ddraw.cpp
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
This commit is contained in:
parent
81d2ff452e
commit
97afb9844b
@ -17,6 +17,7 @@ struct DirectDrawImpl : public IDirectDraw2, public IDirect3D2 {
|
|||||||
m_refCount -= 1;
|
m_refCount -= 1;
|
||||||
if (m_refCount == 0) {
|
if (m_refCount == 0) {
|
||||||
delete this;
|
delete this;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
return m_refCount;
|
return m_refCount;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user