Implement/match LegoVideoManager::CreateDirect3D

This commit is contained in:
Christian Semmler 2024-01-01 21:23:47 -05:00
parent 935ebe6910
commit 56af87b229
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -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