Improve emscripten support

This commit is contained in:
SirLynix
2022-12-06 08:05:28 +01:00
committed by Jérôme Leclercq
parent 7cb90782de
commit ea5c5240fc
10 changed files with 53 additions and 32 deletions

View File

@@ -194,6 +194,10 @@ namespace Nz
WindowHandle WindowImpl::GetSystemHandle() const
{
#ifdef NAZARA_PLATFORM_WEB
WindowHandle handle;
return handle;
#else
SDL_SysWMinfo wmInfo;
SDL_VERSION(&wmInfo.version);
@@ -256,6 +260,7 @@ namespace Nz
}
return handle;
#endif
}
bool WindowImpl::HasFocus() const