Skip to content

Commit

Permalink
Initialize bool in DescriptorSet.h
Browse files Browse the repository at this point in the history
This class has a ( = default) constructor and hence should have
explicit initialization in its definition.
  • Loading branch information
poweifeng committed Oct 2, 2024
1 parent e77ae6e commit b5de349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filament/src/ds/DescriptorSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class DescriptorSet {
mutable utils::bitset64 mDirty; // 8
mutable utils::bitset64 mValid; // 8
backend::DescriptorSetHandle mDescriptorSetHandle; // 4
mutable bool mSetAfterCommitWarning; // 1
mutable bool mSetAfterCommitWarning = false; // 1
};

} // namespace filament
Expand Down

0 comments on commit b5de349

Please sign in to comment.