diff options
| author | Mai <mathew1800@gmail.com> | 2022-11-11 00:42:04 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-11 00:42:04 +0000 | 
| commit | 0e84fd95e2830c0c951c68093bdde5c76e6c489f (patch) | |
| tree | 8fccceb238d3ef619e8743d9d01156061467793c | |
| parent | bb55d2e70179330ef5abdf49f513a2d40c4590fa (diff) | |
| parent | d581a4a367bfe750ad571a1b8ee8961c132411aa (diff) | |
Merge pull request #9217 from HidroSaphire/patch-1
Add break statement in default cases
| -rw-r--r-- | src/common/settings.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 0a560ebb7..8173462cb 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -151,6 +151,7 @@ void UpdateRescalingInfo() {          ASSERT(false);          info.up_scale = 1;          info.down_shift = 0; +        break;      }      info.up_factor = static_cast<f32>(info.up_scale) / (1U << info.down_shift);      info.down_factor = static_cast<f32>(1U << info.down_shift) / info.up_scale; | 
