summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-19 02:27:00 -0400
committerLioncash <mathew1800@gmail.com>2019-05-19 02:46:38 -0400
commitf417be9d3be297f5f4ccdf5d31b80394cfdb6c69 (patch)
tree5c92eeb08f7c1643b9b3474cd88761c06b4cfe01 /src/input_common/sdl/sdl_impl.cpp
parentfb85d5670d54e526035d83f66f7689eebda73be2 (diff)
gl_shader_disk_cache: Special-case boolean handling
Booleans don't have a guaranteed size, but we still want to have them integrate into the disk cache system without needing to actually use a different type. We can do this by supplying non-template overloads for the bool type. Non-template overloads always have precedence during function resolution, so this is safe to provide. This gets rid of the need to smatter ternary conditionals, as well as the need to use u8 types to store the value in.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions