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:
@@ -11,7 +11,7 @@
|
||||
#include "Tutorial03.h"
|
||||
#include "VulkanFunctions.h"
|
||||
|
||||
namespace Tutorial {
|
||||
namespace ApiWithoutSecrets {
|
||||
|
||||
Tutorial03::Tutorial03() :
|
||||
Vulkan() {
|
||||
@@ -593,4 +593,4 @@ namespace Tutorial {
|
||||
ChildClear();
|
||||
}
|
||||
|
||||
} // namespace Tutorial
|
||||
} // namespace ApiWithoutSecrets
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "VulkanCommon.h"
|
||||
#include "Tools.h"
|
||||
|
||||
namespace Tutorial {
|
||||
namespace ApiWithoutSecrets {
|
||||
|
||||
// ************************************************************ //
|
||||
// FramebufferObject //
|
||||
@@ -77,6 +77,6 @@ namespace Tutorial {
|
||||
bool ChildOnWindowSizeChanged() override;
|
||||
};
|
||||
|
||||
} // namespace Tutorial
|
||||
} // namespace ApiWithoutSecrets
|
||||
|
||||
#endif // TUTORIAL_03_HEADER
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "Tutorial03.h"
|
||||
|
||||
int main( int argc, char **argv ) {
|
||||
OS::Window window;
|
||||
Tutorial::Tutorial03 tutorial03;
|
||||
ApiWithoutSecrets::OS::Window window;
|
||||
ApiWithoutSecrets::Tutorial03 tutorial03;
|
||||
|
||||
// Window creation
|
||||
if( !window.Create( "03 - First Triangle" ) ) {
|
||||
|
||||
Reference in New Issue
Block a user