mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Merge remote-tracking branch 'isle/master'
This commit is contained in:
commit
80f5e15cbf
@ -44,7 +44,7 @@ LegoAnimMMPresenter::~LegoAnimMMPresenter()
|
|||||||
VideoManager()->UnregisterPresenter(*this);
|
VideoManager()->UnregisterPresenter(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
delete m_unk0x68;
|
delete[] m_unk0x68;
|
||||||
|
|
||||||
NotificationManager()->Unregister(this);
|
NotificationManager()->Unregister(this);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -400,7 +400,7 @@ BOOL MxDirectDraw::DDSetMode(int width, int height, int bpp)
|
|||||||
|
|
||||||
DDSURFACEDESC ddsd;
|
DDSURFACEDESC ddsd;
|
||||||
|
|
||||||
FUN_1009e020();
|
ClearBackBuffers();
|
||||||
|
|
||||||
if (!GetDDSurfaceDesc(&ddsd, m_pBackBuffer)) {
|
if (!GetDDSurfaceDesc(&ddsd, m_pBackBuffer)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -550,7 +550,7 @@ BOOL MxDirectDraw::DDCreateSurfaces()
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x1009e020
|
// FUNCTION: LEGO1 0x1009e020
|
||||||
// FUNCTION: BETA10 0x10121700
|
// FUNCTION: BETA10 0x10121700
|
||||||
void MxDirectDraw::FUN_1009e020()
|
void MxDirectDraw::ClearBackBuffers()
|
||||||
{
|
{
|
||||||
HRESULT result;
|
HRESULT result;
|
||||||
byte* line;
|
byte* line;
|
||||||
|
|||||||
@ -85,7 +85,7 @@ class MxDirectDraw {
|
|||||||
void Error(const char* p_message, int p_error);
|
void Error(const char* p_message, int p_error);
|
||||||
|
|
||||||
BOOL RecreateDirectDraw(GUID** a2);
|
BOOL RecreateDirectDraw(GUID** a2);
|
||||||
void FUN_1009e020();
|
void ClearBackBuffers();
|
||||||
void FUN_1009d920();
|
void FUN_1009d920();
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1009d510
|
// SYNTHETIC: LEGO1 0x1009d510
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user