egl: replace dead vfunc with an error
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 22 Jun 2019 14:53:36 +0000 (15:53 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 25 Jun 2019 06:47:19 +0000 (07:47 +0100)
commite9286eb60b13d86ad59e1067fafea832347e5d1e
tree9b8862ddf839008ed2d311f4f817085a8544c755
parenteeacd66324c54bfe58fd29dd56918efa43d28836
egl: replace dead vfunc with an error

st/egl used to support eglCreatePbufferFromClientBuffer, but now that
it's gone, any call to it would segfault.

Let's return a nice error instead.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/egl/main/eglapi.c
src/egl/main/eglapi.h