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:
@@ -12,7 +12,7 @@
|
||||
#include "Tutorial01.h"
|
||||
#include "VulkanFunctions.h"
|
||||
|
||||
namespace Tutorial {
|
||||
namespace ApiWithoutSecrets {
|
||||
|
||||
Tutorial01::Tutorial01() :
|
||||
VulkanLibrary(),
|
||||
|
||||
@@ -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
|
||||
@@ -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" ) ) {
|
||||
|
||||
Reference in New Issue
Block a user