summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
diff options
context:
space:
mode:
authorTechjar <tecknojar@gmail.com>2021-06-05 00:34:10 -0400
committerTechjar <tecknojar@gmail.com>2021-06-05 00:34:10 -0400
commit83d55704aad11e3090636db978add28d5197cf01 (patch)
tree8862a760ced2ddf36b74007b9c5c408753c100ed /Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
parentbd7c5bd7424aa71ef619ef0c2f53140544b877da (diff)
VideoCommon: Round bounding box coordinates down and remove pixel center offset
Fragment coordinates always have a 0.5 offset from a whole integer, as that's where the pixel center is on modern GPUs. Therefore, we want to always round the fragment coordinates down for bounding box calculations. This also renders the pixel center offset useless, as 0.5 vs ~0.5833333 makes no difference when rounding down.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.h')
0 files changed, 0 insertions, 0 deletions