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 "Tutorial04.h"
#include "VulkanFunctions.h"
namespace Tutorial {
namespace ApiWithoutSecrets {
Tutorial04::Tutorial04() :
Vulkan() {
@@ -915,4 +915,4 @@ namespace Tutorial {
}
}
} // namespace Tutorial
} // namespace ApiWithoutSecrets

View File

@@ -14,7 +14,7 @@
#include "VulkanCommon.h"
#include "Tools.h"
namespace Tutorial {
namespace ApiWithoutSecrets {
// ************************************************************ //
// ImageParameters //
@@ -127,6 +127,6 @@ namespace Tutorial {
bool ChildOnWindowSizeChanged() override;
};
} // namespace Tutorial
} // namespace ApiWithoutSecrets
#endif // TUTORIAL_03_HEADER

View File

@@ -11,8 +11,8 @@
#include "Tutorial04.h"
int main( int argc, char **argv ) {
OS::Window window;
Tutorial::Tutorial04 tutorial04;
ApiWithoutSecrets::OS::Window window;
ApiWithoutSecrets::Tutorial04 tutorial04;
// Window creation
if( !window.Create( "04 - Vertex Attributes" ) ) {