mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Implement MxDirect3D::Clear (not yet matching)
This commit is contained in:
parent
5a300e8b89
commit
da79eef03f
@ -9,4 +9,18 @@ MxDirect3D::MxDirect3D()
|
||||
this->m_pDirect3dDevice = NULL;
|
||||
this->m_unk88c = NULL;
|
||||
this->m_pDeviceModeFinder = NULL;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1009b290
|
||||
void MxDirect3D::Clear()
|
||||
{
|
||||
if(this->m_pDirect3dDevice) {
|
||||
this->m_pDirect3dDevice->Release();
|
||||
this->m_pDirect3dDevice = NULL;
|
||||
}
|
||||
if(this->m_pDirect3d) {
|
||||
this->m_pDirect3d->Release();
|
||||
this->m_pDirect3d = NULL;
|
||||
}
|
||||
Destroy();
|
||||
}
|
||||
@ -14,6 +14,7 @@ class MxDirect3D : public MxDirectDraw
|
||||
public:
|
||||
MxDirect3D();
|
||||
|
||||
void Clear();
|
||||
inline MxDeviceModeFinder *GetDeviceModeFinder() { return this->m_pDeviceModeFinder; };
|
||||
|
||||
private:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user