summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-09-19 18:21:08 -0700
committerJohn Reck <jreck@google.com>2012-09-19 18:33:38 -0700
commit6013d8c25b19149de1f57b3a413e3fbd23329d9f (patch)
tree529980bd18ba00caeacb6acef25562f4d43806af /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5dbeb6a8ff8ae30f59ba8335c2354b883302428e (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