diff options
author | bohu <bohu@google.com> | 2014-10-17 11:49:35 -0700 |
---|---|---|
committer | bohu <bohu@google.com> | 2014-10-17 11:49:35 -0700 |
commit | f3e18524d036044e416647bb0a86ecaa270b3494 (patch) | |
tree | e73709a13be775573fdc3d0156b156638c4e6ca9 /emulator | |
parent | 4e7f540dcd1ef4f83e82d6c08a318da3933a7eca (diff) | |
download | sdk-f3e18524d036044e416647bb0a86ecaa270b3494.zip sdk-f3e18524d036044e416647bb0a86ecaa270b3494.tar.gz sdk-f3e18524d036044e416647bb0a86ecaa270b3494.tar.bz2 |
Handle empty length parameter on decoder side
OpenGL standard allows empty length parameter and we should
handle it properly to avoid crashing emulator.
Change-Id: I3bd5da19461da0c1f84138a197ae770091458b57
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/opengl/host/libs/GLESv2_dec/gl2.attrib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator/opengl/host/libs/GLESv2_dec/gl2.attrib b/emulator/opengl/host/libs/GLESv2_dec/gl2.attrib index 7fe9a66..29f8358 100644 --- a/emulator/opengl/host/libs/GLESv2_dec/gl2.attrib +++ b/emulator/opengl/host/libs/GLESv2_dec/gl2.attrib @@ -151,6 +151,7 @@ glGetProgramInfoLog len infolog bufsize dir length out len length sizeof(GLsizei) + var_flag length nullAllowed #void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) glGetRenderbufferParameteriv |