Commit 322f967c authored by Ben Boeckel's avatar Ben Boeckel Committed by Ben Boeckel

vtkOSPRayPass: avoid variable length stack arrays

Not supported everywhere.
parent f9bf9de4
......@@ -79,7 +79,7 @@ vtkOSPRayPass::vtkOSPRayPass()
int ac =args.size()+1;
const char* av[ac];
const char** av = new const char*[ac];
av[0] = new char[512];
for(int i=1;i < ac; i++)
......@@ -95,6 +95,7 @@ vtkOSPRayPass::vtkOSPRayPass()
//todo: request addition of ospFinalize() to ospray
delete [] av;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment