OSDN Git Service

Fix parsing the EGL extension string.
authorNicolas Capens <capn@google.com>
Fri, 30 Oct 2015 16:55:21 +0000 (12:55 -0400)
committerNicolas Capens <capn@google.com>
Mon, 9 Nov 2015 20:31:59 +0000 (15:31 -0500)
commitecc0c9aa412aaf463d91bedcf53f881536a6d560
tree8e52b7fcb4d2cf13cd27294c42e40a21302694d7
parent6eaede6acbc672c552579ba54714227f13afae36
Fix parsing the EGL extension string.

The EGL extension string does not necessarily have a space before the
terminating null. The previous code would skip the last extension name
when there's no extra space. The new code also works for empty strings.

Change-Id: Ib272cf05a7ebcc0de417f91966489ed4db33c283
opengl/libs/EGL/egl_display.cpp