Compatibility changes with macos

This commit is contained in:
Dynamitos committed 2026-02-22 20:26:25 +01:00
1 parent 4eacda2ae0
commit 4a66b5d18d
7 files changed
+16 -25

No files matched your search

+3 -3
View File
@@ -754,11 +754,11 @@ void Graphics::pickPhysicalDevice() {
vkGetPhysicalDeviceProperties2(physicalDevice, &props.get());
features.get<VkPhysicalDeviceFeatures2>().features = {
.geometryShader = true,
.geometryShader = false,
.sampleRateShading = true,
.fillModeNonSolid = true,
.wideLines = true,
.pipelineStatisticsQuery = true,
.wideLines = false,
.pipelineStatisticsQuery = false,
.fragmentStoresAndAtomics = true,
.shaderInt64 = true,
.shaderInt16 = true,
+1 -1
View File
@@ -53,7 +53,7 @@ struct StructChain<Helper<This, struct_type>, Right...> : StructChain<Right...>
StructChain() {
std::memset(&t, 0, sizeof(This));
t.sType = struct_type;
t.pNext = &StructChain<Right...>::template get();
t.pNext = &StructChain<Right...>::get();
}
This t;
template <chainable_struct Query> constexpr Query& get() {