mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
VideoCommon: Pass WindowSystemInfo to InitBackendInfo
This commit is contained in:
@ -62,7 +62,7 @@ std::optional<std::string> VideoSoftware::GetWarningMessage() const
|
||||
"really want to enable software rendering? If unsure, select 'No'.");
|
||||
}
|
||||
|
||||
void VideoSoftware::InitBackendInfo()
|
||||
void VideoSoftware::InitBackendInfo(const WindowSystemInfo& wsi)
|
||||
{
|
||||
g_Config.backend_info.api_type = APIType::Nothing;
|
||||
g_Config.backend_info.MaxTextureSize = 16384;
|
||||
|
@ -17,7 +17,7 @@ class VideoSoftware : public VideoBackendBase
|
||||
std::string GetDisplayName() const override;
|
||||
std::optional<std::string> GetWarningMessage() const override;
|
||||
|
||||
void InitBackendInfo() override;
|
||||
void InitBackendInfo(const WindowSystemInfo& wsi) override;
|
||||
|
||||
static constexpr const char* NAME = "Software Renderer";
|
||||
};
|
||||
|
Reference in New Issue
Block a user