egl: add EGL_BAD_MATCH error case for surfaceless and android
authorTapani Pälli <tapani.palli@intel.com>
Fri, 4 May 2018 05:28:50 +0000 (08:28 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 4 May 2018 11:04:03 +0000 (14:04 +0300)
commitaffe63b1da25dc7038499b6884523384684d70a8
tree4a2da539274a430da1fb03d7c699283e64c8fdd7
parentc0acb596f45624e2bc9ba7285e20bc744a532dbe
egl: add EGL_BAD_MATCH error case for surfaceless and android

Just like is done for other backends when suitable config is not
found (added in fd4eba4929).

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_surfaceless.c