forked from suyu/suyu
shader: Format string must be provided inline and not as a variable
This commit is contained in:
parent
e16541e47c
commit
bbffa6ad69
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ static Instruction GetVertexShaderInstruction(size_t offset) {
|
|||
}
|
||||
|
||||
static void LogCritical(const char* msg) {
|
||||
LOG_CRITICAL(HW_GPU, msg);
|
||||
LOG_CRITICAL(HW_GPU, "%s", msg);
|
||||
}
|
||||
|
||||
void JitShader::Compile_Assert(bool condition, const char* msg) {
|
||||
|
|
Loading…
Reference in a new issue