diff options
| author | 2016-04-24 23:40:52 +0800 | |
|---|---|---|
| committer | 2016-04-24 23:40:52 +0800 | |
| commit | bbffa6ad6945f2ea91a61dc7ab45c0fd814fcf82 (patch) | |
| tree | 57fff9b9d4a05486cb514449137a09eac1f8c765 /src | |
| parent | am: title_id is long long uint (diff) | |
| download | yuzu-bbffa6ad6945f2ea91a61dc7ab45c0fd814fcf82.tar.gz yuzu-bbffa6ad6945f2ea91a61dc7ab45c0fd814fcf82.tar.xz yuzu-bbffa6ad6945f2ea91a61dc7ab45c0fd814fcf82.zip | |
shader: Format string must be provided inline and not as a variable
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index b47d3beda..d5a6a349c 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp | |||
| @@ -148,7 +148,7 @@ static Instruction GetVertexShaderInstruction(size_t offset) { | |||
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | static void LogCritical(const char* msg) { | 150 | static void LogCritical(const char* msg) { |
| 151 | LOG_CRITICAL(HW_GPU, msg); | 151 | LOG_CRITICAL(HW_GPU, "%s", msg); |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | void JitShader::Compile_Assert(bool condition, const char* msg) { | 154 | void JitShader::Compile_Assert(bool condition, const char* msg) { |