mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Add const alternative for LegoOmni::Create and MxVideoParam, only available for MinGW
This commit is contained in:
parent
8b6099b2d9
commit
5bf7f1e57a
@ -182,6 +182,13 @@ MxResult LegoOmni::Create(MxOmniCreateParam &p)
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
MxResult LegoOmni::Create(const MxOmniCreateParam &p)
|
||||
{
|
||||
return Create((MxOmniCreateParam &)p);
|
||||
}
|
||||
#endif
|
||||
|
||||
void LegoOmni::Destroy()
|
||||
{
|
||||
// FIXME: Stub
|
||||
|
||||
@ -18,6 +18,13 @@ class MxVideoParam
|
||||
__declspec(dllexport) MxVideoParam &operator=(const MxVideoParam &);
|
||||
__declspec(dllexport) ~MxVideoParam();
|
||||
|
||||
#ifdef __MINGW32__
|
||||
__declspec(dllexport) MxVideoParam(const MxRect32 &rect, MxPalette *pal, unsigned long p3, const MxVideoParamFlags &flags)
|
||||
: MxVideoParam((MxRect32 &)rect, pal, p3, (MxVideoParamFlags &)flags)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
__declspec(dllexport) void SetDeviceName(char *id);
|
||||
|
||||
inline MxVideoParamFlags &flags() { return m_flags; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user