- fix missing terminator in vk_shader.cpp on #ifdef guarded line.

This commit is contained in:
Mitchell Richters 2020-06-11 19:54:35 +10:00 committed by alexey.lysiuk
parent b20de184a0
commit 8af21a13e7

View file

@ -279,7 +279,7 @@ std::unique_ptr<VulkanShader> VkShaderManager::LoadVertShader(FString shadername
code << defines; code << defines;
code << "\n#define MAX_STREAM_DATA " << std::to_string(MAX_STREAM_DATA).c_str() << "\n"; code << "\n#define MAX_STREAM_DATA " << std::to_string(MAX_STREAM_DATA).c_str() << "\n";
#ifdef NPOT_EMULATION #ifdef NPOT_EMULATION
code << "#define NPOT_EMULATION\n" code << "#define NPOT_EMULATION\n";
#endif #endif
code << shaderBindings; code << shaderBindings;
if (!device->UsedDeviceFeatures.shaderClipDistance) code << "#define NO_CLIPDISTANCE_SUPPORT\n"; if (!device->UsedDeviceFeatures.shaderClipDistance) code << "#define NO_CLIPDISTANCE_SUPPORT\n";