diff options
author | John Reck <jreck@google.com> | 2012-09-19 18:21:08 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-09-19 18:33:38 -0700 |
commit | 6013d8c25b19149de1f57b3a413e3fbd23329d9f (patch) | |
tree | 529980bd18ba00caeacb6acef25562f4d43806af /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5dbeb6a8ff8ae30f59ba8335c2354b883302428e (diff) |
Fix DPI scaling on TVDPI
Bug: 6891214
tvdpi has a density of 1.3312501 which we fail on as we assume
you can take density and multiply by 100, cast to an int, and
divide by 100f to get back to the original density. Force this
assumption to be true by truncating density
Change-Id: I0caeb7768ee002f935b41c77a5579ffeed491f82
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions