- fixed compilation with GCC and Clang

src/rendering/vulkan/renderer/vk_postprocess.cpp:219:54: error: cannot pass non-trivial object of type 'const FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
alexey.lysiuk 2019-03-06 11:39:39 +02:00
parent c280153ac2
commit 08d8ea5d31

View file

@ -216,7 +216,7 @@ void VkPostprocess::CompileEffectShaders()
FString VkPostprocess::LoadShaderCode(const FString &lumpName, const FString &defines, int version)
{
int lump = Wads.CheckNumForFullName(lumpName, 0);
if (lump == -1) I_FatalError("Unable to load '%s'", lumpName);
if (lump == -1) I_FatalError("Unable to load '%s'", lumpName.GetChars());
FString code = Wads.ReadLump(lump).GetString().GetChars();
FString patchedCode;