Skip to content

Commit

Permalink
Prevent warning if VK_NO_PROTOTYPES is already defined (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
jherico authored Feb 9, 2024
1 parent c021415 commit d2d63f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vk_funcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#ifndef _VK_FUNCS_H_
#define _VK_FUNCS_H_

#if !defined(VK_NO_PROTOTYPES)
#define VK_NO_PROTOTYPES
#endif

#include "vulkan/vk_platform.h"
#include "vulkan/vulkan_core.h"
Expand Down

0 comments on commit d2d63f0

Please sign in to comment.