mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 00:40:58 +01:00
Remove duplicate config
This commit is contained in:
parent
f48187449e
commit
85b591f6f0
2 changed files with 1 additions and 2 deletions
|
@ -36,6 +36,7 @@ void AsyncShaders::AllocateWorkers(std::size_t num_workers) {
|
||||||
void AsyncShaders::FreeWorkers() {
|
void AsyncShaders::FreeWorkers() {
|
||||||
// Mark all threads to quit
|
// Mark all threads to quit
|
||||||
is_thread_exiting.store(true);
|
is_thread_exiting.store(true);
|
||||||
|
cv.notify_all();
|
||||||
for (auto& thread : worker_threads) {
|
for (auto& thread : worker_threads) {
|
||||||
thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1149,8 +1149,6 @@ void Config::SaveRendererValues() {
|
||||||
Settings::values.use_assembly_shaders, false);
|
Settings::values.use_assembly_shaders, false);
|
||||||
WriteSettingGlobal(QStringLiteral("use_asynchronous_shaders"),
|
WriteSettingGlobal(QStringLiteral("use_asynchronous_shaders"),
|
||||||
Settings::values.use_asynchronous_shaders, false);
|
Settings::values.use_asynchronous_shaders, false);
|
||||||
WriteSettingGlobal(QStringLiteral("use_asynchronous_shaders"),
|
|
||||||
Settings::values.use_asynchronous_shaders, false);
|
|
||||||
WriteSettingGlobal(QStringLiteral("use_fast_gpu_time"), Settings::values.use_fast_gpu_time,
|
WriteSettingGlobal(QStringLiteral("use_fast_gpu_time"), Settings::values.use_fast_gpu_time,
|
||||||
true);
|
true);
|
||||||
WriteSettingGlobal(QStringLiteral("force_30fps_mode"), Settings::values.force_30fps_mode,
|
WriteSettingGlobal(QStringLiteral("force_30fps_mode"), Settings::values.force_30fps_mode,
|
||||||
|
|
Loading…
Reference in a new issue