Skip to content

Commit 56f38db

Browse files
committed
fix compiling errors
1 parent 8868d96 commit 56f38db

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,
@@ -1271,13 +1272,6 @@ NriStruct(PipelineStatisticsDesc) {
12711272
#pragma region [ Device desc ]
12721273
//============================================================================================================================================================================================
12731274

1274-
NriEnum(GraphicsAPI, uint8_t,
1275-
D3D11,
1276-
D3D12,
1277-
VK,
1278-
MTL
1279-
);
1280-
12811275
// defined in apple framework
12821276
#undef INTEL
12831277
#undef AMD

0 commit comments

Comments
 (0)