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/engines/shader_bytecode.h | |
| 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/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 37d17efdc..8b45f1b62 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -1437,8 +1437,7 @@ union Instruction { return TextureType::TextureCube; } - LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}", - static_cast<u32>(texture_info.Value())); + LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}", texture_info.Value()); UNREACHABLE(); return TextureType::Texture1D; } @@ -1533,8 +1532,7 @@ union Instruction { return TextureType::Texture3D; } - LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}", - static_cast<u32>(texture_info.Value())); + LOG_CRITICAL(HW_GPU, "Unhandled texture_info: {}", texture_info.Value()); UNREACHABLE(); return TextureType::Texture1D; } |
