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:
plapins
2016-04-13 09:27:27 +02:00
parent d34da4e8e0
commit 95675bd125
20 changed files with 423 additions and 399 deletions

View File

@@ -11,7 +11,7 @@
#include "Tutorial02.h"
#include "VulkanFunctions.h"
namespace Tutorial {
namespace ApiWithoutSecrets {
Tutorial02::Tutorial02() :
VulkanLibrary(),
@@ -851,4 +851,4 @@ namespace Tutorial {
}
}
} // namespace Tutorial
} // namespace ApiWithoutSecrets

View File

@@ -15,7 +15,7 @@
#include "vulkan.h"
#include "OperatingSystem.h"
namespace Tutorial {
namespace ApiWithoutSecrets {
// ************************************************************ //
// VulkanTutorial02Parameters //
@@ -96,6 +96,6 @@ namespace Tutorial {
VkPresentModeKHR GetSwapChainPresentMode( std::vector<VkPresentModeKHR> &present_modes );
};
} // namespace Tutorial
} // namespace ApiWithoutSecrets
#endif // TUTORIAL_02_HEADER

View File

@@ -11,8 +11,8 @@
#include "Tutorial02.h"
int main( int argc, char **argv ) {
OS::Window window;
Tutorial::Tutorial02 tutorial02;
ApiWithoutSecrets::OS::Window window;
ApiWithoutSecrets::Tutorial02 tutorial02;
// Window creation
if( !window.Create( "02 - Swap chain" ) ) {