summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2021-06-23 11:50:37 -0400
committerGravatar Lioncash2021-06-23 11:50:40 -0400
commitbe6844c1edb31a77898adc191ddb42f7b138e9fb (patch)
tree15ceea3895fa0aae6091d14d8caeb10197d81c31 /src
parentMerge pull request #6508 from ReinUsesLisp/bootmanager-stop-token (diff)
downloadyuzu-be6844c1edb31a77898adc191ddb42f7b138e9fb.tar.gz
yuzu-be6844c1edb31a77898adc191ddb42f7b138e9fb.tar.xz
yuzu-be6844c1edb31a77898adc191ddb42f7b138e9fb.zip
maxwell3d: Add missing return in default SizeInBytes() case
We were returning '1' in ComponentCount()'s default case but were neglecting to do the same with SizeInBytes().
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/maxwell_3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index ffed42a29..335383955 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -242,6 +242,7 @@ public:
242 return 4; 242 return 4;
243 default: 243 default:
244 UNREACHABLE(); 244 UNREACHABLE();
245 return 1;
245 } 246 }
246 } 247 }
247 248