diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-12-07 03:35:25 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-07 03:35:25 -0300 |
| commit | 9ae6224f12db36cf78892b4116145599041713a6 (patch) | |
| tree | 2ed48adfe1f36defba52c3f5b33329e81e262340 /src/video_core/texture_cache/surface_params.cpp | |
| parent | a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9 (diff) | |
| parent | 4c5f5c9bf301d3626df104dbed6fed6f115cedc8 (diff) | |
Merge pull request #5158 from lioncash/video-fmt
video_core: Remove unnecessary enum class casting in logging messages
Diffstat (limited to 'src/video_core/texture_cache/surface_params.cpp')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp index 305297719..96f93246d 100644 --- a/src/video_core/texture_cache/surface_params.cpp +++ b/src/video_core/texture_cache/surface_params.cpp @@ -398,9 +398,9 @@ std::string SurfaceParams::TargetName() const { case SurfaceTarget::TextureCubeArray: return "CubeArray"; default: - LOG_CRITICAL(HW_GPU, "Unimplemented surface_target={}", static_cast<u32>(target)); + LOG_CRITICAL(HW_GPU, "Unimplemented surface_target={}", target); UNREACHABLE(); - return fmt::format("TUK({})", static_cast<u32>(target)); + return fmt::format("TUK({})", target); } } |
