egl: check for extensions' presence during attr parsing
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 28 Jun 2017 23:12:15 +0000 (00:12 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Jul 2017 14:43:12 +0000 (15:43 +0100)
commit4d8191fd000071328b97bde5fc31ab1c39238d27
treee08e89baac396f86111f2f7409c2c1ef17594451
parentcd859452e900e588ad8f7c067d2378fad7fc9c93
egl: check for extensions' presence during attr parsing

If the respective extension is not supported, one should return
EGL_BAD_PARAMETER as mentioned in earlier commits.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/main/eglimage.c