Skip to content

Commit

Permalink
Revert "Assert for null sTypes."
Browse files Browse the repository at this point in the history
This reverts commit 73e2b82.
  • Loading branch information
charles-lunarg committed Apr 18, 2021
1 parent e671170 commit 7126555
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/VkBootstrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,6 @@ class PhysicalDeviceSelector {
#if defined(VK_API_VERSION_1_1)
template <typename T>
PhysicalDeviceSelector& add_required_extension_features(T const& features) {
assert(features.sType != 0 &&
"Features struct sType must be filled with the struct's corresponding VkStructureType enum");
criteria.extension_features.push_back(detail::ExtensionFeatures::make(features));
return *this;
}
Expand Down

0 comments on commit 7126555

Please sign in to comment.