mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-02 04:07:01 -05:00
Implement/match LegoVideoManager::CreateDirect3D
This commit is contained in:
parent
935ebe6910
commit
56af87b229
1 changed files with 5 additions and 2 deletions
|
@ -44,10 +44,13 @@ LegoVideoManager::~LegoVideoManager()
|
||||||
delete m_palette;
|
delete m_palette;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x1007abb0
|
// FUNCTION: LEGO1 0x1007abb0
|
||||||
MxResult LegoVideoManager::CreateDirect3D()
|
MxResult LegoVideoManager::CreateDirect3D()
|
||||||
{
|
{
|
||||||
return SUCCESS;
|
if (!m_direct3d)
|
||||||
|
m_direct3d = new MxDirect3D;
|
||||||
|
|
||||||
|
return m_direct3d ? SUCCESS : FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007ac40
|
// FUNCTION: LEGO1 0x1007ac40
|
||||||
|
|
Loading…
Reference in a new issue