diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 05:13:29 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 05:14:11 -0300 |
commit | 6171566296154963933fb8553c15b5316b5dda2f (patch) | |
tree | 1701d8363c0da07c7eda13929328e5a08e7f82cb /src/input_common/sdl/sdl_impl.cpp | |
parent | 682d82faf3bfc96603bf9b2c77436b1b23af24e0 (diff) |
vk_staging_buffer_pool: Inline tick tests
Load the current tick to a local variable, moving it out of an atomic
and allowing us to compare the value without going through a pointer
each time. This should make the loop more optimizable.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions