VideoCommon: Pass WindowSystemInfo to InitBackendInfo

This commit is contained in:
Pokechu22
2023-03-25 17:16:53 -07:00
parent 7845fb00ee
commit c63f0f37cd
21 changed files with 76 additions and 57 deletions

View File

@ -25,7 +25,7 @@
namespace Null
{
void VideoBackend::InitBackendInfo()
void VideoBackend::InitBackendInfo(const WindowSystemInfo& wsi)
{
g_Config.backend_info.api_type = APIType::Nothing;
g_Config.backend_info.MaxTextureSize = 16384;

View File

@ -15,7 +15,7 @@ public:
std::string GetName() const override { return NAME; }
std::string GetDisplayName() const override;
void InitBackendInfo() override;
void InitBackendInfo(const WindowSystemInfo& wsi) override;
static constexpr const char* NAME = "Null";
};