Skip to content

Commit f0de1b2

Browse files
committed
fix compiling errors
1 parent 2c3918e commit f0de1b2

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Include/NRIDescs.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ NriEnum(GraphicsAPI, uint8_t,
7575
NONE, // Supports everything, does nothing, returns dummy non-NULL objects and ~0-filled descs, available if "NRI_ENABLE_NONE_SUPPORT = ON" in CMake
7676
D3D11, // Direct3D 11 (feature set 11.1), available if "NRI_ENABLE_D3D11_SUPPORT = ON" in CMake
7777
D3D12, // Direct3D 12 (feature set 11.1+), available if "NRI_ENABLE_D3D12_SUPPORT = ON" in CMake
78-
VK // Vulkan 1.3 or 1.2+ (can be used on MacOS via MoltenVK), available if "NRI_ENABLE_VK_SUPPORT = ON" in CMake
78+
VK, // Vulkan 1.3 or 1.2+ (can be used on MacOS via MoltenVK), available if "NRI_ENABLE_VK_SUPPORT = ON" in CMake
79+
MTL
7980
);
8081

8182
NriEnum(Result, uint8_t,
@@ -1283,13 +1284,6 @@ NriStruct(PipelineStatisticsDesc) {
12831284
#pragma region [ Device desc ]
12841285
//============================================================================================================================================================================================
12851286

1286-
NriEnum(GraphicsAPI, uint8_t,
1287-
D3D11,
1288-
D3D12,
1289-
VK,
1290-
MTL
1291-
);
1292-
12931287
// defined in apple framework
12941288
#undef INTEL
12951289
#undef AMD

0 commit comments

Comments
 (0)