Allow picking a Compatibility Profile for OpenGL.
This option allows picking the compatibility profile since a lot of bugs are fixed in it. We devs will use this option to easierly debug current problems in our Core implementation.:wq
This commit is contained in:
parent
62c2404d3c
commit
788497fd9d
7 changed files with 21 additions and 1 deletions
|
@ -389,6 +389,8 @@ void Config::ReadValues() {
|
|||
Settings::values.resolution_factor = ReadSetting("resolution_factor", 1.0).toFloat();
|
||||
Settings::values.use_frame_limit = ReadSetting("use_frame_limit", true).toBool();
|
||||
Settings::values.frame_limit = ReadSetting("frame_limit", 100).toInt();
|
||||
Settings::values.use_compatibility_profile =
|
||||
ReadSetting("use_compatibility_profile", true).toBool();
|
||||
Settings::values.use_disk_shader_cache = ReadSetting("use_disk_shader_cache", true).toBool();
|
||||
Settings::values.use_accurate_gpu_emulation =
|
||||
ReadSetting("use_accurate_gpu_emulation", false).toBool();
|
||||
|
@ -661,6 +663,7 @@ void Config::SaveValues() {
|
|||
WriteSetting("resolution_factor", (double)Settings::values.resolution_factor, 1.0);
|
||||
WriteSetting("use_frame_limit", Settings::values.use_frame_limit, true);
|
||||
WriteSetting("frame_limit", Settings::values.frame_limit, 100);
|
||||
WriteSetting("use_compatibility_profile", Settings::values.use_compatibility_profile, true);
|
||||
WriteSetting("use_disk_shader_cache", Settings::values.use_disk_shader_cache, true);
|
||||
WriteSetting("use_accurate_gpu_emulation", Settings::values.use_accurate_gpu_emulation, false);
|
||||
WriteSetting("use_asynchronous_gpu_emulation", Settings::values.use_asynchronous_gpu_emulation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue