mirror of https://github.com/mosra/magnum.git
Browse Source
The change won't make any difference in Release, but in Debug builds it avoids calling into set() for every element. This function showed up pretty high in profiler output for DebugTools::CompareImage, now it doesn't anymore. In particular, for ShadersMeshVisualizerGLTest it results in ~10% reduction in run time, which is quite significant.pull/617/head
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue