summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2016-11-29 19:26:29 -0800
committerRomain Guy <romainguy@google.com>2016-11-29 19:26:29 -0800
commite842e50d42e311eaf97aa01548c4fc29ad352b53 (patch)
tree91595d7c23ff4a73375807275075ad97af4d9bfb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent512957482525918d0c79f02ea29af5e15a063268 (diff)
Add fallback case in glGetShaderInfoLog
Some drivers do not always report the proper info log length through glGetShaderiv which causes the JNI bindings to return an empty log string. This change falls back to a length of 512 bytes when the queried length is 0. This is the same fallback used in libhwui. Test: CtsOpenGLTest Bug: 16624915 Change-Id: I86ea52903b280a86305eaaa83eefcf46a7a8d0b4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions