summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferShaderGen.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-07-17 00:07:50 -0400
committerGitHub <noreply@github.com>2022-07-17 00:07:50 -0400
commitf1d23ff9a48ce866f9cd391d32eacb4bfb1c244e (patch)
tree1dcb1a30c58a973c881092525eb797c6b1e635f5 /Source/Core/VideoCommon/FramebufferShaderGen.cpp
parent2ef069e0e861e275497854e0fe2d19f0c333850a (diff)
parenta6e06f38adb933187605ac07ef7a0cb1940afa80 (diff)
Merge pull request #10466 from Pokechu22/efb-copy-gamma
Accurately handle the copy filter and gamma for EFB and XFB copies
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/FramebufferShaderGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FramebufferShaderGen.cpp b/Source/Core/VideoCommon/FramebufferShaderGen.cpp
index 40949f34aa..345578d071 100644
--- a/Source/Core/VideoCommon/FramebufferShaderGen.cpp
+++ b/Source/Core/VideoCommon/FramebufferShaderGen.cpp
@@ -550,7 +550,7 @@ std::string GenerateTextureReinterpretShader(TextureFormat from_format, TextureF
break;
default:
- WARN_LOG_FMT(VIDEO, "From format {} is not supported", static_cast<u32>(from_format));
+ WARN_LOG_FMT(VIDEO, "From format {} is not supported", from_format);
return "{}\n";
}
@@ -602,7 +602,7 @@ std::string GenerateTextureReinterpretShader(TextureFormat from_format, TextureF
}
break;
default:
- WARN_LOG_FMT(VIDEO, "To format {} is not supported", static_cast<u32>(to_format));
+ WARN_LOG_FMT(VIDEO, "To format {} is not supported", to_format);
return "{}\n";
}