From c63f0f37cd84d627dd40ace3205c689efc068ac0 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 25 Mar 2023 17:16:53 -0700 Subject: VideoCommon: Pass WindowSystemInfo to InitBackendInfo --- Source/Core/VideoBackends/Software/SWmain.cpp | 2 +- Source/Core/VideoBackends/Software/VideoBackend.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Software') diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 8703ea4b4d..ccb040e8ad 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -62,7 +62,7 @@ std::optional 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; diff --git a/Source/Core/VideoBackends/Software/VideoBackend.h b/Source/Core/VideoBackends/Software/VideoBackend.h index 8c3cb081ef..35c3adb1a7 100644 --- a/Source/Core/VideoBackends/Software/VideoBackend.h +++ b/Source/Core/VideoBackends/Software/VideoBackend.h @@ -17,7 +17,7 @@ class VideoSoftware : public VideoBackendBase std::string GetDisplayName() const override; std::optional GetWarningMessage() const override; - void InitBackendInfo() override; + void InitBackendInfo(const WindowSystemInfo& wsi) override; static constexpr const char* NAME = "Software Renderer"; }; -- cgit v1.2.3