From 2cd240af0d261d4600e273badd912570a5a09a19 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 10 Mar 2017 00:01:23 +1000 Subject: VideoBackends: Move max texture size to VideoConfig This stops the virtual method call from within the Renderer constructor. The initialization here for GL had to be moved to VideoBackend, as the Renderer constructor will not have been executed before the value is required. --- Source/Core/VideoCommon/VideoConfig.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 1f3d3d10ea..2db2494a05 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -37,6 +37,7 @@ VideoConfig::VideoConfig() // 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.bSupportsInternalResolutionFrameDumps = false; -- cgit v1.2.3