summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2016-11-29 18:36:46 -0800
committer Romain Guy <romainguy@google.com> 2016-11-29 18:36:46 -0800
commit7eb9c3a4e5d29469985b7d27673d566b211e4d13 (patch)
tree4a2198635fbaab36c068a529a51c674dcb3787ae /vulkan/libvulkan/api.cpp
parent3828399b9d1d8c4004ef26e82784604cab841be4 (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. Bug: 16624915 Test: CtsOpenGLTestCases Change-Id: I8deea6a7454efceb7c5d862b7055a34964f5bded
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions