platform agnostic argument handling

This commit is contained in:
saschawillems 2016-11-10 22:56:15 +01:00
parent db66e81721
commit 9462a24421
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
#include "vulkanexamplebase.h" #include "vulkanexamplebase.h"
std::vector<char*> VulkanExampleBase::args; std::vector<const char*> VulkanExampleBase::args;
VkResult VulkanExampleBase::createInstance(bool enableValidation) VkResult VulkanExampleBase::createInstance(bool enableValidation)
{ {

View file

@ -145,7 +145,7 @@ public:
float zoom = 0; float zoom = 0;
static std::vector<char*> args; static std::vector<const char*> args;
// Defines a frame rate independent timer value clamped from -1.0...1.0 // Defines a frame rate independent timer value clamped from -1.0...1.0
// For use in animations, rotations, etc. // For use in animations, rotations, etc.