mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- fixed: Vulkan did not define NPOT_EMULATION for its fragment shader.
This commit is contained in:
parent
8cc3a81c3b
commit
e0ee3a6701
1 changed files with 3 additions and 0 deletions
|
@ -296,6 +296,9 @@ std::unique_ptr<VulkanShader> VkShaderManager::LoadFragShader(FString shadername
|
|||
code << defines;
|
||||
code << "\n$placeholder$"; // here the code can later add more needed #defines.
|
||||
code << "\n#define MAX_STREAM_DATA " << std::to_string(MAX_STREAM_DATA).c_str() << "\n";
|
||||
#ifdef NPOT_EMULATION
|
||||
code << "#define NPOT_EMULATION\n";
|
||||
#endif
|
||||
code << shaderBindings;
|
||||
FString placeholder = "\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue