commit | 75b58a31146b5dcf2b868285a0c5abb2d9ed9cf7 | [log] [tgz] |
---|---|---|
author | Karl Schultz <karl@lunarg.com> | Fri Mar 25 13:21:25 2016 -0600 |
committer | Karl Schultz <karl@lunarg.com> | Fri Mar 25 13:21:25 2016 -0600 |
tree | 42fab98c3d7ae74fefeabdc134ddc00e3c1459c1 | |
parent | eeafb15cca8fd815501d38ac301e5e0ce231ccf3 [diff] |
layers: Use vector::resize instead of reserve to avoid portability issue. Fixes layer crash on Windows with cube --validate. On Windows, std::vector won't bump up the size of a vector (up to the reserved amount) on an out_of_range access, while linux will.