File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -1357,6 +1357,20 @@ Features deliberately excluded from the scope of this library:
1357
1357
1358
1358
*/
1359
1359
1360
+ /*
1361
+ Define this macro to 0/1 to disable/enable support for recording functionality,
1362
+ available through VmaAllocatorCreateInfo::pRecordSettings.
1363
+ */
1364
+ #ifndef VMA_RECORDING_ENABLED
1365
+ #ifdef _WIN32
1366
+ #define VMA_RECORDING_ENABLED 1
1367
+ #else
1368
+ #define VMA_RECORDING_ENABLED 0
1369
+ #endif
1370
+ #endif
1371
+
1372
+ #define NOMINMAX // For Windows.h
1373
+
1360
1374
#include < vulkan/vulkan.h>
1361
1375
1362
1376
#if VMA_RECORDING_ENABLED
@@ -1483,18 +1497,6 @@ typedef enum VmaRecordFlagBits {
1483
1497
} VmaRecordFlagBits;
1484
1498
typedef VkFlags VmaRecordFlags;
1485
1499
1486
- /*
1487
- Define this macro to 0/1 to disable/enable support for recording functionality,
1488
- available through VmaAllocatorCreateInfo::pRecordSettings.
1489
- */
1490
- #ifndef VMA_RECORDING_ENABLED
1491
- #ifdef _WIN32
1492
- #define VMA_RECORDING_ENABLED 1
1493
- #else
1494
- #define VMA_RECORDING_ENABLED 0
1495
- #endif
1496
- #endif
1497
-
1498
1500
// / Parameters for recording calls to VMA functions. To be used in VmaAllocatorCreateInfo::pRecordSettings.
1499
1501
typedef struct VmaRecordSettings
1500
1502
{
You can’t perform that action at this time.
0 commit comments