summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-12-23 18:20:47 +0100
committerJosJuice <josjuice@gmail.com>2017-12-23 18:59:27 +0100
commitf41273fe79fb3cc81bb034e9f325328f0ceab006 (patch)
treed16062e4095c0c5c72882813d1c1e7b56a5cb5f8 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
parent5296ee6d3dce29a2ac4901b1dd698f1466aeab97 (diff)
GameConfigLoader: Map whole sections, not just individual keys
There are two reasons for this change: 1. It removes many repetitive lines of code. 2. I think it's a good idea to enable the use of old-style section names even for settings that previously haven't been settable in game INIs. Mixing the two styles in INIs (using the new style only for new settings) is not ideal, and people on the forums don't even seem to know that the new style exists (nobody knew a way to set ubershader settings per game, for instance). Encouraging everyone to start using only the new style might work long-term, but it would take take time and effort to make everyone get used to it. Considering that this commit *reduces* the amount of code by adding the ability to use old-style names for more settings, I'd say that adding this ability is worth it.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions