Skip to content

Commit

Permalink
vulkan/common: only include Metal extensions on Apple targets
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 authored and haasn committed Apr 12, 2024
1 parent 7b29435 commit e4e096b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vulkan/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

#define VK_NO_PROTOTYPES
#define VK_ENABLE_BETA_EXTENSIONS // for VK_KHR_portability_subset
#ifdef __APPLE__
#define VK_USE_PLATFORM_METAL_EXT
#endif

#include "../common.h"
#include "../log.h"
Expand Down

0 comments on commit e4e096b

Please sign in to comment.