diff options
| author | Stenzek <stenzek@gmail.com> | 2017-03-10 00:01:23 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-03-10 00:04:13 +1000 |
| commit | 2cd240af0d261d4600e273badd912570a5a09a19 (patch) | |
| tree | d81312ec5f03a8681bece3ef5f0b2aae82d8364d /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 401216608573182b0ece84ceaa9d2cdfb60fe757 (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
