wm: Fix float comparisons in compositor culling code.
The culling code does floating-point arithmetic and compares
the results directly against literals. Tests exercising
this code fail on some CPU architectures. This change
fudges the literals enough to compensate for the
differences.
BUG=none
TEST=tests pass now; also ran the code and checked that it still appears to function properly
Change-Id: Ic14d4d3df6595d7c84c02e7ba5df055b0ecc1728
Reviewed-on: http://gerrit.chromium.org/gerrit/3478
Reviewed-by: David Reveman <[email protected]>
Tested-by: Daniel Erat <[email protected]>
2 files changed