mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VideoBackends: Pass window system info from host on creation
This commit is contained in:
parent
9c57a98723
commit
eb284b5d66
26 changed files with 148 additions and 75 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/WindowSystemInfo.h"
|
||||
#include "VideoCommon/PerfQueryBase.h"
|
||||
|
||||
namespace MMIO
|
||||
|
@ -35,7 +36,7 @@ class VideoBackendBase
|
|||
{
|
||||
public:
|
||||
virtual ~VideoBackendBase() {}
|
||||
virtual bool Initialize(void* display_handle, void* window_handle) = 0;
|
||||
virtual bool Initialize(const WindowSystemInfo& wsi) = 0;
|
||||
virtual void Shutdown() = 0;
|
||||
|
||||
virtual std::string GetName() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue