Remove unsupported platforms.

This commit is contained in:
Branimir Karadžić
2023-11-03 21:42:02 -07:00
parent 4946079f1d
commit de9f4b3385
6 changed files with 13 additions and 17 deletions

View File

@@ -7,7 +7,7 @@
#if ENTRY_CONFIG_USE_SDL
#if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
#if BX_PLATFORM_LINUX
# if ENTRY_CONFIG_USE_WAYLAND
# include <wayland-egl.h>
# endif
@@ -48,7 +48,7 @@ namespace entry
return NULL;
}
# if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
# if BX_PLATFORM_LINUX
# if ENTRY_CONFIG_USE_WAYLAND
if (wmi.subsystem == SDL_SYSWM_WAYLAND)
{
@@ -81,7 +81,7 @@ namespace entry
{
if(!_window)
return;
# if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
# if BX_PLATFORM_LINUX
# if ENTRY_CONFIG_USE_WAYLAND
wl_egl_window *win_impl = (wl_egl_window*)SDL_GetWindowData(_window, "wl_egl_window");
if(win_impl)
@@ -1148,7 +1148,7 @@ namespace entry
{
return NULL;
}
# if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
# if BX_PLATFORM_LINUX
# if ENTRY_CONFIG_USE_WAYLAND
if (wmi.subsystem == SDL_SYSWM_WAYLAND)
return wmi.info.wl.display;
@@ -1168,7 +1168,7 @@ namespace entry
{
return bgfx::NativeWindowHandleType::Default;
}
# if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
# if BX_PLATFORM_LINUX
# if ENTRY_CONFIG_USE_WAYLAND
if (wmi.subsystem == SDL_SYSWM_WAYLAND)
{