mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +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:
@@ -10,9 +10,13 @@
|
||||
|
||||
#include "vulkan.h"
|
||||
|
||||
namespace ApiWithoutSecrets {
|
||||
|
||||
#define VK_EXPORTED_FUNCTION( fun ) PFN_##fun fun;
|
||||
#define VK_GLOBAL_LEVEL_FUNCTION( fun ) PFN_##fun fun;
|
||||
#define VK_INSTANCE_LEVEL_FUNCTION( fun ) PFN_##fun fun;
|
||||
#define VK_DEVICE_LEVEL_FUNCTION( fun ) PFN_##fun fun;
|
||||
|
||||
#include "ListOfFunctions.inl"
|
||||
|
||||
} // namespace ApiWithoutSecrets
|
||||
Reference in New Issue
Block a user