hwcontext_vulkan: avoid using 64-bit enums

MSVC (2016, but possibly more) still force enums to be basic ints.
release/5.1
Lynne 3 years ago
parent 238e11b71f
commit 3c831847a8
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
  1. 2
      libavutil/vulkan_functions.h

@ -38,7 +38,7 @@ typedef enum FFVulkanExtensions {
FF_VK_EXT_EXTERNAL_WIN32_SEM = 1ULL << 7, /* VK_KHR_external_semaphore_win32 */
#endif
FF_VK_EXT_NO_FLAG = 1ULL << 63,
FF_VK_EXT_NO_FLAG = 1ULL << 31,
} FFVulkanExtensions;
/* Macro containing every function that we utilize in our codebase */

Loading…
Cancel
Save