summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-09-25 12:17:14 -0700
committerRomain Guy <romainguy@google.com>2012-09-25 12:22:21 -0700
commitef09a210dd6ea481158b7028ec2424a7f5769ed2 (patch)
treeac7cac37d1dbe20679cf102f36fee076bc07b120 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent509e2ced819ebaece2abb21693cb2046b5524c5b (diff)
Don't destroy the same texture twice
Bug #7221449 SurfaceTexture already deletes the GL texture when detachFromContext is invoked. The newly introduced refcount would casue the Layer object to be destroyed later and attempt to delete the GL texture again. By the time the second cleanup occurs, the texture name might have been reused by somebody else, resulting in erroneous behaviors. Change-Id: I257c589fea64b34c00f46fbfaa7732e6854a5e41
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions