diff options
author | Lioncash <mathew1800@gmail.com> | 2021-06-23 11:50:37 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-06-23 11:50:40 -0400 |
commit | be6844c1edb31a77898adc191ddb42f7b138e9fb (patch) | |
tree | 15ceea3895fa0aae6091d14d8caeb10197d81c31 /src | |
parent | 20f474b09ab503607fab651342bcee433d117c80 (diff) |
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.h | 1 |
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 ffed42a298..3353839557 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -242,6 +242,7 @@ public: return 4; default: UNREACHABLE(); + return 1; } } |