Re-add libretro core

This commit is contained in:
Connor McLaughlin
2021-05-10 13:36:00 +10:00
parent d38a1c9430
commit 1392a64a93
6 changed files with 62 additions and 6 deletions

View File

@ -222,6 +222,9 @@ endif()
if(APPLE)
# Needed for Vulkan Swap Chain.
target_link_libraries(common PRIVATE "objc")
endif()
if(APPLE AND NOT BUILD_LIBRETRO_CORE)
target_sources(common PRIVATE
gl/context_agl.mm
gl/context_agl.h

View File

@ -124,7 +124,9 @@ bool InitializeGlslang()
return false;
}
#ifndef LIBRETRO
std::atexit([]() { glslang::FinalizeProcess(); });
#endif
glslang_initialized = true;
return true;

View File

@ -13,6 +13,7 @@ struct WindowInfo
MacOS,
Android,
Display,
Libretro,
};
enum class SurfaceFormat