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

@@ -12,7 +12,7 @@
#include "Tutorial01.h"
#include "VulkanFunctions.h"
namespace Tutorial {
namespace ApiWithoutSecrets {
Tutorial01::Tutorial01() :
VulkanLibrary(),

View File

@@ -14,7 +14,7 @@
#include "vulkan.h"
#include "OperatingSystem.h"
namespace Tutorial {
namespace ApiWithoutSecrets {
// ************************************************************ //
// VulkanTutorial01Parameters //
@@ -65,6 +65,6 @@ namespace Tutorial {
bool GetDeviceQueue();
};
} // namespace Tutorial
} // namespace ApiWithoutSecrets
#endif // TUTORIAL_01_HEADER

View File

@@ -11,8 +11,8 @@
#include "Tutorial01.h"
int main( int argc, char **argv ) {
OS::Window window;
Tutorial::Tutorial01 tutorial01;
ApiWithoutSecrets::OS::Window window;
ApiWithoutSecrets::Tutorial01 tutorial01;
// Window creation
if( !window.Create( "01 - The Beginning" ) ) {