diff --git a/include/viz.hpp b/include/viz.hpp index 249b755..7ada144 100644 --- a/include/viz.hpp +++ b/include/viz.hpp @@ -48,9 +48,13 @@ class Viz { /* Set new style display name here */ }; - +#ifdef __EMSCRIPTEN__ + static const int dataSizesCount = 6; + const int dataSizes[dataSizesCount] { 16, 256, 1000, 5000, 50000, 500000 }; +#else static const int dataSizesCount = 7; const int dataSizes[dataSizesCount] { 16, 256, 1000, 5000, 50000, 500000, 1000000 }; +#endif ArrayWrapper *data = nullptr; bool running = false;