summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCyril Mottier <cyrilmottier@gmail.com>2013-07-15 10:29:48 +0200
committerCyril Mottier <cyrilmottier@gmail.com>2013-07-15 15:38:10 +0200
commit5f5882ffa83d1c5762569e3260fa4ec85e0d0d4c (patch)
tree3b20e8b356a6a50ba008f2f6a3f365e4bcab0ecc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4b8cc94cc67d760e724c56aee9301d1bcc2bbe89 (diff)
Remove useless/repetitive code
fixScale(float) method has been extracted from the code but the original code has been kept in place. Because of this, the animation scale is "fixed" twice which is not necessary. This patch, simply call fixScale(float) once and stores the result of it in the scale variable. Change-Id: I50aeacbc2c13ebbf447506ae4309d50c0e313837
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions