Skip to content

Commit

Permalink
Fix a typo in predictionDampening setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Detegr committed Oct 8, 2024
1 parent 4b522e6 commit 504e050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ struct Config {
cfg.quad_view_rendering = cfg.wanted_quad_view_rendering = oxrnode["quadViewRendering"].value_or(false);
cfg.peripheral_msaa = static_cast<D3DMULTISAMPLE_TYPE>(oxrnode["peripheralAntiAliasing"].value_or(0));
cfg.openxr_motion_compensation = oxrnode["motionCompensation"].value_or(false);
cfg.prediction_dampening = oxrnode["predicitonDampening"].value_or(0);
cfg.prediction_dampening = oxrnode["predictionDampening"].value_or(0);
cfg.prediction_dampening = std::clamp(cfg.prediction_dampening, 0LL, 100LL);
}

Expand Down

0 comments on commit 504e050

Please sign in to comment.