aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/program_metadata.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-08 23:28:01 -0400
committerLioncash <mathew1800@gmail.com>2018-08-08 23:34:58 -0400
commit824e3ae7f8d0670fbe04763e0329193f23e9b404 (patch)
tree8ea1988115400fdde58094c12aa3f451947a4a66 /src/core/file_sys/program_metadata.cpp
parent4be471509c1e7aebd8dd67245841aab0d65f93ed (diff)
gl_rasterizer_cache: Use std::vector::assign in LoadGLBuffer() for the non-tiled case
resize() causes the vector to expand and zero out the added members to the vector, however we can avoid this zeroing by using assign(). Given we have the pointer to the data we want to copy, we can calculate the end pointer and directly copy the range of data without the need to perform the resize() beforehand.
Diffstat (limited to 'src/core/file_sys/program_metadata.cpp')
0 files changed, 0 insertions, 0 deletions