diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-06-10 21:54:41 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-06-10 21:54:41 +0000 |
| commit | e0d30b2e8a50adefcfa299b6cce8ec44056c2638 (patch) | |
| tree | e3b0603b5311b3fd77615dec99a9fd32fcf81825 /Graphics/GraphicsEngineVulkan | |
| parent | Added static tests to catch base class misalginment issues (diff) | |
| download | DiligentCore-e0d30b2e8a50adefcfa299b6cce8ec44056c2638.tar.gz DiligentCore-e0d30b2e8a50adefcfa299b6cce8ec44056c2638.zip | |
Fixed few alignment-related issues (API Version 240063)
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp index 74293d1b..523a5108 100644 --- a/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/ShaderVkImpl.cpp @@ -61,7 +61,7 @@ ShaderVkImpl::ShaderVkImpl(IReferenceCounters* pRefCounters, DEV_CHECK_ERR(CreationAttribs.ByteCode == nullptr, "'ByteCode' must be null when shader is created from source code or a file"); DEV_CHECK_ERR(CreationAttribs.ByteCodeSize == 0, "'ByteCodeSize' must be 0 when shader is created from source code or a file"); - static constexpr char* VulkanDefine = + static constexpr char VulkanDefine[] = "#ifndef VULKAN\n" "# define VULKAN 1\n" "#endif\n"; |
