diff options
author | Naomi Luis <nluis@codeaurora.org> | 2010-04-22 18:04:31 -0700 |
---|---|---|
committer | Naomi Luis <nluis@codeaurora.org> | 2010-08-05 12:53:24 -0700 |
commit | 32938bf45a17c1779debd8a64117e7af853b375e (patch) | |
tree | d5f1e8f4d03d8487e79f6c5194a67026c6fe66fe /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 3af76d897849e4e73f967647b0e3c11cf88e9ca5 (diff) |
frameworks/base/opengl: Add NULL check
Check for the validity of the attrs_list in eglChooseConfig before using
it. This avoids a crash during tests in which the attributes are NULL.
Change-Id: I1c0a46b505ae919e2454cfdce32f8dfc21ead247
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions