summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures/convert.cpp
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-12-07 07:35:25 +0100
committerGitHub <noreply@github.com>2020-12-07 07:35:25 +0100
commit9ae6224f12db36cf78892b4116145599041713a6 (patch)
tree2ed48adfe1f36defba52c3f5b33329e81e262340 /src/video_core/textures/convert.cpp
parentMerge pull request #5148 from comex/xx-unused-fields (diff)
parentvideo_core: Remove unnecessary enum class casting in logging messages (diff)
downloadyuzu-9ae6224f12db36cf78892b4116145599041713a6.tar
yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.gz
yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.bz2
yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.lz
yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.xz
yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.zst
yuzu-9ae6224f12db36cf78892b4116145599041713a6.zip
Diffstat (limited to 'src/video_core/textures/convert.cpp')
-rw-r--r--src/video_core/textures/convert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/convert.cpp b/src/video_core/textures/convert.cpp
index 962921483..bd1aebf02 100644
--- a/src/video_core/textures/convert.cpp
+++ b/src/video_core/textures/convert.cpp
@@ -82,7 +82,7 @@ void ConvertFromHostToGuest(u8* data, PixelFormat pixel_format, u32 width, u32 h
bool convert_astc, bool convert_s8z24) {
if (convert_astc && IsPixelFormatASTC(pixel_format)) {
LOG_CRITICAL(HW_GPU, "Conversion of format {} after texture flushing is not implemented",
- static_cast<u32>(pixel_format));
+ pixel_format);
UNREACHABLE();
} else if (convert_s8z24 && pixel_format == PixelFormat::S8_UINT_D24_UNORM) {