Running with ubuntu 16.04 with 418.87, I have an EGL/OpenGL app that works really well as long as I don’t try to re-initialize the EGL context. Doing so results in an out of memory error, whenever I try to allocate a framebuffer or other GPU buffer.
I have created a very simple example, that ends in a segmentation fault after the second iteration.
It’s likely I may not be shutting down correctly, but it’s becoming important for me to be able to initialize and re-initialize rendering context, without having to shutdown the process.
Thank you in advance. Overly verbose code attached.
eglinit.cpp (12.3 KB)