summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
diff options
context:
space:
mode:
authormagumagu <magumagu9@gmail.com>2014-04-15 22:58:17 -0700
committermagumagu <magumagu9@gmail.com>2014-04-15 23:36:05 -0700
commit648b9865d8385dd8bed46041c505d7c5bb546630 (patch)
tree75bd32d62e77eb9c387cfab7048da86b8c92ef9b /Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
parent9203862a9e512469f18b9daf1c7b5fed1b4da908 (diff)
D3D11 backend: fix rounding in texture encoder.
We need to explicitly round when converting colors from float to uint because multiplying a normalized float by 255 might not result in a whole number. (The exact result here may vary depending on your drivers/hardware.) Ideally, we shouldn't be using floating point here, but fixing that is a much more complicated patch. Fixes gxtest TEV tests using Intel HD 4000.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp')
0 files changed, 0 insertions, 0 deletions