mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 12:05:20 +00:00
Renamed "Tutorial" namespace to "ApiWithoutSecrets". Added ApiWithoutSecrets namescape to all files. Placed function pointers in an ApiWithoutSecrets namespace to fix errors on Linux.
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "vulkan.h"
|
||||
|
||||
namespace ApiWithoutSecrets {
|
||||
|
||||
#define VK_EXPORTED_FUNCTION( fun ) extern PFN_##fun fun;
|
||||
#define VK_GLOBAL_LEVEL_FUNCTION( fun) extern PFN_##fun fun;
|
||||
#define VK_INSTANCE_LEVEL_FUNCTION( fun ) extern PFN_##fun fun;
|
||||
@@ -20,4 +22,6 @@
|
||||
|
||||
#include "ListOfFunctions.inl"
|
||||
|
||||
} // namespace ApiWithoutSecrets
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user