Fixes interpretation of attribute lists in the EGL emulation library.

In a few places, EGL_NONE was incorrectly assumed to be 0. EGL_NONE is
used to indicate the end of the list. By assuming EGL_NONE is 0, the
code would fail to detect the end of the list appropriately.

Bug: 23036813
Change-Id: Ic0ad1c4b7428e5b7bdcf0b4626cba807194aa9c9
1 file changed