platform agnostic argument handling
This commit is contained in:
parent
db66e81721
commit
9462a24421
2 changed files with 3 additions and 3 deletions
|
|
@ -145,7 +145,7 @@ public:
|
|||
|
||||
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
|
||||
// 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(); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue