Restore EGL api bound when using EGL

Do not disturb apps using EGL

Signed-off-by: Axel Davy <axel.davy@ens.fr>