egl: Account for default values of texture target and format
authorPlamena Manolova <plamena.manolova@intel.com>
Wed, 1 Jun 2016 16:31:29 +0000 (17:31 +0100)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 2 Jun 2016 23:07:31 +0000 (16:07 -0700)
commit0b67efaed2038c68e08eb8b550d7b78494b54254
treee1009c19a02e4afbf820d57e5c81698994627c10
parent28590eb9492f2e06c95483df7bd7f67b0fee7b8e
egl: Account for default values of texture target and format

When validating attributes during surface creation we should account
for the default values of texture target and format (EGL_NO_TEXTURE)
since the user is not obligated to explicitly set both via the
attribute list passed to eglCreatePbufferSurface.

Signed-off-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/egl/main/eglsurface.c