summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-10-13 21:52:22 +0200
committerGitHub <noreply@github.com>2021-10-13 21:52:22 +0200
commit023eb0b7029eb3633ce9eeb039c11d835ea7fd74 (patch)
tree93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/Core/VideoCommon/VideoConfig.cpp
parenta0a91ec4b86b16624b2da7000a0f54852cd33872 (diff)
parent78bfd25964206a1f0a34170fdd90ca1a8ce242db (diff)
Merge pull request #10085 from Pokechu22/C26495
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 70ad7096e9..255e1722b9 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -33,29 +33,6 @@ void UpdateActiveConfig()
g_ActiveConfig.bVSyncActive = IsVSyncActive(g_ActiveConfig.bVSync);
}
-VideoConfig::VideoConfig()
-{
- // Needed for the first frame, I think
- fAspectRatioHackW = 1;
- fAspectRatioHackH = 1;
-
- // disable all features by default
- backend_info.api_type = APIType::Nothing;
- backend_info.MaxTextureSize = 16384;
- backend_info.bSupportsExclusiveFullscreen = false;
- backend_info.bSupportsMultithreading = false;
- backend_info.bSupportsST3CTextures = false;
- backend_info.bSupportsBPTCTextures = false;
-
- bEnableValidationLayer = false;
-
-#if defined(ANDROID)
- bBackendMultithreading = false;
-#else
- bBackendMultithreading = true;
-#endif
-}
-
void VideoConfig::Refresh()
{
if (!s_has_registered_callback)