Skip to content
Commit e842e50d authored by Romain Guy's avatar Romain Guy
Browse files

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
parent 51295748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment