Browse Source

ShaderTools: update a TODO.

pull/504/head
Vladimír Vondruš 5 years ago
parent
commit
8237626571
  1. 3
      src/Magnum/ShaderTools/AbstractConverter.cpp

3
src/Magnum/ShaderTools/AbstractConverter.cpp

@ -571,7 +571,8 @@ bool AbstractConverter::doLinkFilesToFile(const Containers::ArrayView<const std:
fileData[i] = Utility::Directory::read(from[i].second);
}
/** @todo merge the allocations once we have an ArrayTuple */
/** @todo merge the allocations once we have an ArrayTuple (actually,
ideally it would merge also the nested allocations, how?) */
Containers::Array<std::pair<Stage, Containers::ArrayView<const char>>> data{Containers::NoInit, from.size()};
for(std::size_t i = 0; i != from.size(); ++i) {
data[i].first = from[i].first;

Loading…
Cancel
Save