VideoBackends: Pass window system info from host on creation
This commit is contained in:
1 parent
9c57a98723
commit
eb284b5d66
26 files changed
+148
-75
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user