summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2016-02-29 15:49:41 -0800
committerJohn Reck <jreck@google.com>2016-02-29 15:49:41 -0800
commit33c025cbfb642bd391db9ab83b84553286a0bf93 (patch)
treea933e9ac39d686bf29469d0a17dc2eb91a37696d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent342006e91990f59b2e71c76a7d8589f7de571246 (diff)
Only copyLayer if valid rendertarget
Bug: 27407637 Texture layers will set a GL_NONE rendertarget until they have managed to get the real rendertarget from SurfaceTexture. If, however, copyLayer is called prior to any calls to updateTexImage() (for example, if no frames have yet been produced), this will result in trying to use a Texture with a GL_NONE rendertarget which is bad. Change-Id: Ib7285d799cb94ebd44f07a89f2ef2075d79ef71f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions