OSDN Git Service

fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig
authorMathias Agopian <mathias@google.com>
Mon, 17 May 2010 21:45:43 +0000 (14:45 -0700)
committerMathias Agopian <mathias@google.com>
Mon, 17 May 2010 21:45:43 +0000 (14:45 -0700)
commit04aed2149d95f04602127eef4d5b6d7d48684359
tree169c385102a2dfa99ff2a619b651c2b7582cabe4
parent4edfe7501873df28554b675694b336579c078dfa
fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig

the EGL specification states that this should be treated as though it was
an empty list terminated with EGL_NONE.

Change-Id: I294104370a86b5e5c34c7bcf15c5459eab464631
opengl/libagl/egl.cpp
opengl/libs/EGL/egl.cpp