summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-08 19:14:34 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-08 19:14:34 +0000
commitfdb17bd1b125ced2d7d1e871de4184433446f6b1 (patch)
treeeee1b24f0a2ae298da1ae55c3cf9d5e4438cc9d2 /Graphics/GraphicsEngineVulkan
parentMinor updates to StandardFile (diff)
downloadDiligentCore-fdb17bd1b125ced2d7d1e871de4184433446f6b1.tar.gz
DiligentCore-fdb17bd1b125ced2d7d1e871de4184433446f6b1.zip
Cleared interface: removed superfluous default constructors; added default memeber initializers instead.
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp b/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp
index 8adeaf6d..54e64aab 100644
--- a/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/GenerateMipsVkHelper.cpp
@@ -113,7 +113,7 @@ namespace Diligent
CSCreateAttribs.Desc.ShaderType = SHADER_TYPE_COMPUTE;
CSCreateAttribs.Desc.DefaultVariableType = SHADER_VARIABLE_TYPE_DYNAMIC;
- ShaderVariableDesc VarDesc("CB", SHADER_VARIABLE_TYPE_STATIC);
+ ShaderVariableDesc VarDesc{"CB", SHADER_VARIABLE_TYPE_STATIC};
CSCreateAttribs.Desc.VariableDesc = &VarDesc;
CSCreateAttribs.Desc.NumVariables = 1;