mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-14 07:36:26 +00:00
windows enum refactor fixes
This commit is contained in:
@@ -225,7 +225,7 @@ public:
|
||||
|
||||
EPlatformType getPlatformType() const
|
||||
{
|
||||
return PLAT_WIN32;
|
||||
return EPlatformType::Win32;
|
||||
}
|
||||
|
||||
LRESULT winHwndHandler(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
@@ -362,8 +362,8 @@ int ApplicationRun(IApplication::EPlatformType platform,
|
||||
{
|
||||
if (APP)
|
||||
return 1;
|
||||
if (platform != IApplication::PLAT_WIN32 &&
|
||||
platform != IApplication::PLAT_AUTO)
|
||||
if (platform != IApplication::EPlatformType::Win32 &&
|
||||
platform != IApplication::EPlatformType::Auto)
|
||||
return 1;
|
||||
|
||||
/* One class for *all* boo windows */
|
||||
|
||||
Reference in New Issue
Block a user