- fix CI build errors in vk_shader.cpp for all platforms due to missing terminator on #ifdef guarded line.

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

View file

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