summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
diff options
context:
space:
mode:
authorTechjar <tecknojar@gmail.com>2021-05-22 01:13:55 -0400
committerTechjar <tecknojar@gmail.com>2021-05-22 05:58:52 -0400
commitbe6b000bec8f37fd4440dfcfdeb7630ccd7bfec8 (patch)
tree257f635387e5cd0b458b8df89401ed99ea8e6e86 /Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
parent0f17990137e9d32e442b7baf000098af5ffae111 (diff)
VideoCommon: Account for pixel quads in bounding box calculation
The GC/Wii GPU rasterizes in 2x2 pixel groups, so bounding box values will be rounded to the extents of these groups, rather than the exact pixel. To account for this, we'll round the top/left down to even and the bottom/right up to odd. I have verified that the values resulting from this change exactly match a real Wii.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.cpp')
0 files changed, 0 insertions, 0 deletions