aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2016-03-25 13:21:25 -0600
committerKarl Schultz <karl@lunarg.com>2016-03-25 13:21:25 -0600
commit45e8713f5cebc2634f6f1aa6ec555eec054c5fea (patch)
tree8b59efbe3a74b6c715cfffd435251867393714d2 /layers/device_limits.cpp
parent7ac52e831af1959dbc871e9960d6d1dc05e0402e (diff)
downloadusermoji-45e8713f5cebc2634f6f1aa6ec555eec054c5fea.tar.xz
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.
Diffstat (limited to 'layers/device_limits.cpp')
0 files changed, 0 insertions, 0 deletions