summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-06-09 15:07:07 +0200
committerGitHub <noreply@github.com>2023-06-09 15:07:07 +0200
commit8f51a9d2d8a88993167cd1c3b8d447bee1ca6407 (patch)
tree31ea53fda80c4e7e4476cd2a16b17de89102b9c7 /Source/Core/VideoBackends/Null
parent092773ad0cd31cb0f3d111254e4e0bdb24f2c795 (diff)
parentac48b2eea43164349e6b112604d44490a4d731c5 (diff)
Merge pull request #11699 from Pokechu22/gl-check-maximum-samples
OpenGL: Check the list of supported AA modes instead of hardcoding
Diffstat (limited to 'Source/Core/VideoBackends/Null')
-rw-r--r--Source/Core/VideoBackends/Null/NullBackend.cpp2
-rw-r--r--Source/Core/VideoBackends/Null/VideoBackend.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Null/NullBackend.cpp b/Source/Core/VideoBackends/Null/NullBackend.cpp
index 900a911699..28afcce4dc 100644
--- a/Source/Core/VideoBackends/Null/NullBackend.cpp
+++ b/Source/Core/VideoBackends/Null/NullBackend.cpp
@@ -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;
diff --git a/Source/Core/VideoBackends/Null/VideoBackend.h b/Source/Core/VideoBackends/Null/VideoBackend.h
index f08098cfd0..4437c0c48d 100644
--- a/Source/Core/VideoBackends/Null/VideoBackend.h
+++ b/Source/Core/VideoBackends/Null/VideoBackend.h
@@ -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";
};