Skip to content
Snippets Groups Projects
Unverified Commit 0e84fd95 authored by Mai's avatar Mai Committed by GitHub
Browse files

Merge pull request #9217 from HidroSaphire/patch-1

Add break statement in default cases
parents bb55d2e7 d581a4a3
No related branches found
No related tags found
Loading
...@@ -151,6 +151,7 @@ void UpdateRescalingInfo() { ...@@ -151,6 +151,7 @@ void UpdateRescalingInfo() {
ASSERT(false); ASSERT(false);
info.up_scale = 1; info.up_scale = 1;
info.down_shift = 0; info.down_shift = 0;
break;
} }
info.up_factor = static_cast<f32>(info.up_scale) / (1U << info.down_shift); 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; info.down_factor = static_cast<f32>(1U << info.down_shift) / info.up_scale;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment