summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMihai Popa <popam@google.com>2019-02-26 18:01:37 +0000
committerMihai Popa <popam@google.com>2019-02-26 18:01:37 +0000
commit6bf0b2f65625b99f0b2d4bdabce241c96b8d6fb3 (patch)
tree107b1f24d1cb2991fa12f935b89bb207f3dfe920 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd3af535583b240ff8a2b4b5cd4dc726e4b308062 (diff)
[Magnifier-78] Fix shadow on first draw
The CL fixes the light source position when the magnifier is first drawn. Before this CL, the source position was set only after the magnifier was drawn for the first time, causing an incorrect shadow for the first draw. This was noticeable if the magnifier was trigerred and not moved (the shadow was updated and started looking fine when the magnifier was moved and a new draw happened). Bug: none Test: manual testing Change-Id: Iabdd34430a5def3608197294cf694c5045a7d8d3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions