Skip to content
Snippets Groups Projects
Verified Commit ee976b56 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#69] Fixed compiler error with default value

parent f0b66f1e
No related branches found
No related tags found
1 merge request!56Resolve "Partikelsystem"
Pipeline #26073 passed
...@@ -37,7 +37,7 @@ namespace vkcv { ...@@ -37,7 +37,7 @@ namespace vkcv {
}; };
struct DrawcallInfo { struct DrawcallInfo {
inline DrawcallInfo(const Mesh& mesh, const std::vector<DescriptorSetUsage>& descriptorSets, const uint32_t instanceCount) inline DrawcallInfo(const Mesh& mesh, const std::vector<DescriptorSetUsage>& descriptorSets, const uint32_t instanceCount = 1)
: mesh(mesh), descriptorSets(descriptorSets), instanceCount(instanceCount){} : mesh(mesh), descriptorSets(descriptorSets), instanceCount(instanceCount){}
Mesh mesh; Mesh mesh;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment