Host: Move CreateDisplayForAPI() into common code

This commit is contained in:
Connor McLaughlin committed 2022-08-25 00:55:58 +10:00
1 parent 4f2da4213d
commit 7277d29ff9
3 files changed
+53 -47

No files matched your search

+2
View File
@@ -304,6 +304,8 @@ protected:
extern std::unique_ptr<HostDisplay> g_host_display;
namespace Host {
std::unique_ptr<HostDisplay> CreateDisplayForAPI(HostDisplay::RenderAPI api);
/// Creates the host display. This may create a new window. The API used depends on the current configuration.
bool AcquireHostDisplay(HostDisplay::RenderAPI api);