mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
feat: base visionOS bgfx implementation (#3289)
Co-authored-by: mani3xis <mariusz.pas+dev@protonmail.com> fix: properly set storageMode cleanup: remove unused variables fix crash while releasing m_drawable on visionOS fix: remove unused timing variable fix: file name cases, cleanup feat: integrate visionOS into bgfx examples
This commit is contained in:
committed by
GitHub
parent
00fa5ad179
commit
3195593d8d
@@ -68,7 +68,7 @@ void openUrl(const bx::StringView& _url)
|
||||
#if BX_PLATFORM_WINDOWS
|
||||
void* result = ShellExecuteA(NULL, NULL, tmp, NULL, NULL, false);
|
||||
BX_UNUSED(result);
|
||||
#elif !BX_PLATFORM_IOS
|
||||
#elif !BX_PLATFORM_IOS && !BX_PLATFORM_VISIONOS
|
||||
int32_t result = system(tmp);
|
||||
BX_UNUSED(result);
|
||||
#endif // BX_PLATFORM_*
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace entry
|
||||
else
|
||||
# endif // ENTRY_CONFIG_USE_WAYLAND
|
||||
return (void*)wmi.info.x11.window;
|
||||
# elif BX_PLATFORM_OSX || BX_PLATFORM_IOS
|
||||
# elif BX_PLATFORM_OSX || BX_PLATFORM_IOS || BX_PLATFORM_VISIONOS
|
||||
return wmi.info.cocoa.window;
|
||||
# elif BX_PLATFORM_WINDOWS
|
||||
return wmi.info.win.window;
|
||||
|
||||
Reference in New Issue
Block a user