|
|
|
@ -531,8 +531,6 @@ void Config::ReadRendererValues() {
|
|
|
|
|
Settings::values.use_frame_limit =
|
|
|
|
|
ReadSetting(QStringLiteral("use_frame_limit"), true).toBool();
|
|
|
|
|
Settings::values.frame_limit = ReadSetting(QStringLiteral("frame_limit"), 100).toInt();
|
|
|
|
|
Settings::values.use_compatibility_profile =
|
|
|
|
|
ReadSetting(QStringLiteral("use_compatibility_profile"), true).toBool();
|
|
|
|
|
Settings::values.use_disk_shader_cache =
|
|
|
|
|
ReadSetting(QStringLiteral("use_disk_shader_cache"), true).toBool();
|
|
|
|
|
Settings::values.use_accurate_gpu_emulation =
|
|
|
|
@ -912,8 +910,6 @@ void Config::SaveRendererValues() {
|
|
|
|
|
static_cast<double>(Settings::values.resolution_factor), 1.0);
|
|
|
|
|
WriteSetting(QStringLiteral("use_frame_limit"), Settings::values.use_frame_limit, true);
|
|
|
|
|
WriteSetting(QStringLiteral("frame_limit"), Settings::values.frame_limit, 100);
|
|
|
|
|
WriteSetting(QStringLiteral("use_compatibility_profile"),
|
|
|
|
|
Settings::values.use_compatibility_profile, true);
|
|
|
|
|
WriteSetting(QStringLiteral("use_disk_shader_cache"), Settings::values.use_disk_shader_cache,
|
|
|
|
|
true);
|
|
|
|
|
WriteSetting(QStringLiteral("use_accurate_gpu_emulation"),
|
|
|
|
|