VideoBackends: Pass window system info from host on creation

This commit is contained in:
Stenzek committed 2018-10-20 21:11:34 +10:00
1 parent 9c57a98723
commit eb284b5d66
26 files changed
+148 -75

No files matched your search

+3 -2
View File
@@ -18,6 +18,7 @@
#include "Common/CommonTypes.h"
struct BootParameters;
struct WindowSystemInfo;
namespace Core
{
@@ -35,7 +36,7 @@ enum class State
Starting,
};
bool Init(std::unique_ptr<BootParameters> boot);
bool Init(std::unique_ptr<BootParameters> boot, const WindowSystemInfo& wsi);
void Stop();
void Shutdown();
@@ -104,4 +105,4 @@ void HostDispatchJobs();
void DoFrameStep();
} // namespace
} // namespace Core