Skip to content

Commit

Permalink
- fix missing terminator in vk_shader.cpp on #ifdef guarded line.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au authored and alexey-lysiuk committed Jun 11, 2020
1 parent b20de18 commit 8af21a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/rendering/vulkan/shaders/vk_shader.cpp
Expand Up @@ -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";
Expand Down

0 comments on commit 8af21a1

Please sign in to comment.