elm_glview: make_current(NULL, NULL) before delete

Desktop / Enlightenment / Elementary - Jean-Philippe Andre [samsung.com] - 14 April 2015 07:04 UTC

The surface and context should not be current when deleted.

Evas GL would work just fine but since it deletes the surface and context immediately upon request, those should not be current.

This is a slightly different behaviour from EGL.

bf2170e elm_glview: make_current(NULL, NULL) before delete
src/lib/elm_glview.c | 3 +++
1 file changed, 3 insertions(+)

Upstream: git.enlightenment.org


  • Share