mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
fix broken MxOmniCreateParam ctor interface
This commit is contained in:
parent
36ddb3ea82
commit
b51d74f642
2 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
#include "mxomnicreateparam.h"
|
||||
|
||||
MxOmniCreateParam::MxOmniCreateParam(const char *mediaPath, HWND windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags)
|
||||
MxOmniCreateParam::MxOmniCreateParam(const char *mediaPath, struct HWND__ * windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags)
|
||||
{
|
||||
this->m_mediaPath = mediaPath;
|
||||
this->m_windowHandle = windowHandle;
|
||||
this->m_windowHandle = (HWND) windowHandle;
|
||||
this->m_videoParam = vparam;
|
||||
this->m_createFlags = flags;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
class MxOmniCreateParam : public MxOmniCreateParamBase
|
||||
{
|
||||
public:
|
||||
__declspec(dllexport) MxOmniCreateParam(const char *mediaPath, HWND windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags);
|
||||
__declspec(dllexport) MxOmniCreateParam(const char *mediaPath, struct HWND__ *windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags);
|
||||
// virtual void vtable00(); seems to be a destructor
|
||||
|
||||
const MxOmniCreateFlags& CreateFlags() const { return this->m_createFlags; }
|
||||
|
|
Loading…
Reference in a new issue