Skip to content
Commit 184d50f9 authored by Naomi Luis's avatar Naomi Luis
Browse files

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
parent 0f0dd448
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