@@ -272,7 +272,7 @@ void Settings::Load(const SettingsInterface& si, const SettingsInterface& contro
272272 gpu_pgxp_depth_buffer = si.GetBoolValue (" GPU" , " PGXPDepthBuffer" , false );
273273 gpu_pgxp_disable_2d = si.GetBoolValue (" GPU" , " PGXPDisableOn2DPolygons" , false );
274274 gpu_pgxp_transparent_depth = si.GetBoolValue (" GPU" , " PGXPTransparentDepthTest" , false );
275- SetPGXPDepthClearThreshold (si.GetFloatValue (" GPU" , " PGXPDepthClearThreshold " , DEFAULT_GPU_PGXP_DEPTH_THRESHOLD ));
275+ SetPGXPDepthClearThreshold (si.GetFloatValue (" GPU" , " PGXPDepthThreshold " , DEFAULT_GPU_PGXP_DEPTH_THRESHOLD ));
276276 gpu_show_vram = si.GetBoolValue (" Debug" , " ShowVRAM" );
277277 gpu_dump_cpu_to_vram_copies = si.GetBoolValue (" Debug" , " DumpCPUToVRAMCopies" );
278278 gpu_dump_vram_to_cpu_copies = si.GetBoolValue (" Debug" , " DumpVRAMToCPUCopies" );
@@ -611,7 +611,7 @@ void Settings::Save(SettingsInterface& si, bool ignore_base) const
611611 si.SetBoolValue (" GPU" , " PGXPDepthBuffer" , gpu_pgxp_depth_buffer);
612612 si.SetBoolValue (" GPU" , " PGXPDisableOn2DPolygons" , gpu_pgxp_disable_2d);
613613 si.SetBoolValue (" GPU" , " PGXPTransparentDepthTest" , gpu_pgxp_transparent_depth);
614- si.SetFloatValue (" GPU" , " PGXPDepthClearThreshold " , GetPGXPDepthClearThreshold ());
614+ si.SetFloatValue (" GPU" , " PGXPDepthThreshold " , GetPGXPDepthClearThreshold ());
615615 si.SetBoolValue (" Debug" , " ShowVRAM" , gpu_show_vram);
616616 si.SetBoolValue (" Debug" , " DumpCPUToVRAMCopies" , gpu_dump_cpu_to_vram_copies);
617617 si.SetBoolValue (" Debug" , " DumpVRAMToCPUCopies" , gpu_dump_vram_to_cpu_copies);
0 commit comments