mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoBackends: Pass window system info from host on creation
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user