From 9462a2442186cea14016f9a80d314c26d298c1b9 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Thu, 10 Nov 2016 22:56:15 +0100 Subject: [PATCH] platform agnostic argument handling --- base/vulkanexamplebase.cpp | 2 +- base/vulkanexamplebase.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index e0d9866e..3732b9b1 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -8,7 +8,7 @@ #include "vulkanexamplebase.h" -std::vector VulkanExampleBase::args; +std::vector VulkanExampleBase::args; VkResult VulkanExampleBase::createInstance(bool enableValidation) { diff --git a/base/vulkanexamplebase.h b/base/vulkanexamplebase.h index f49adbe2..9b9a63b7 100644 --- a/base/vulkanexamplebase.h +++ b/base/vulkanexamplebase.h @@ -145,7 +145,7 @@ public: float zoom = 0; - static std::vector args; + static std::vector args; // Defines a frame rate independent timer value clamped from -1.0...1.0 // For use in animations, rotations, etc. @@ -405,7 +405,7 @@ static void handleEvent() \ } \ int main(const int argc, const char *argv[]) \ { \ - vulkanExample = new VulkanExample(); \ + vulkanExample = new VulkanExample(); \ vulkanExample->initSwapchain(); \ vulkanExample->prepare(); \ vulkanExample->renderLoop(); \