summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-09-14 15:40:50 -0700
committerPhilip P. Moltmann <moltmann@google.com>2016-09-14 22:44:50 +0000
commit4346f3c5ec7bc9a5d6cced81c0d7584d69d7397a (patch)
tree6e17528636b8acea5c7719be567d868c9b38cfb3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0bef88f3c708db0c3ba250a3accf2a14303351b2 (diff)
Set buffer before UsbRequest is queued
Otherwise a second thread might dequeue() it in between native_queue_direct and mBuffer = buffer. If that happens the dequeue operation does mBuffer.isDirect which triggers a NPE. Fixes: 30914003 Change-Id: I3ca3b72db8f53a14be1c5f0e37f8924eba44b9bc
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions