mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match rest of MxSmkPresenter (#345)
* Implement/match rest of MxSmkPresenter * Fix include guard * Update mxregion.cpp * Match MxRegion::VTable0x18 * Fix * Fix matches * Remove class name
This commit is contained in:

committed by
GitHub

parent
20a9a2b4c3
commit
71ed20bf11
@@ -75,7 +75,9 @@ void MxVideoManager::Destroy(MxBool p_fromDestructor)
|
||||
void MxVideoManager::UpdateRegion()
|
||||
{
|
||||
if (m_region->VTable0x20() == FALSE) {
|
||||
MxRect32 rect(m_region->GetRect(), m_videoParam.GetRect());
|
||||
MxRect32 rect(m_region->GetRect());
|
||||
rect.Intersect(m_videoParam.GetRect());
|
||||
|
||||
m_displaySurface
|
||||
->Display(rect.GetLeft(), rect.GetTop(), rect.GetLeft(), rect.GetTop(), rect.GetWidth(), rect.GetHeight());
|
||||
}
|
||||
|
Reference in New Issue
Block a user