diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp index af0bbf9a880a4beab5174bd7d9c41fe457b4732f..31d60c3afe8d955a7c064b3a751aa897970bf61b 100644 --- a/indra/newview/llglsandbox.cpp +++ b/indra/newview/llglsandbox.cpp @@ -960,7 +960,7 @@ F32 gpu_benchmark() std::vector<U32> source; }; - LLRenderTarget dest[count]; + std::vector<LLRenderTarget> dest(count); TextureHolder texHolder(0, count); std::vector<F32> results;