Fix initialization of EGL buffers
Fix deinitialization of EGL buffers
Merge pull request #496 from neithernut/fix-egl_buffer

Fix egl buffer (de)initialization