elm_glview: make_current(NULL, NULL) before delete
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 14 Apr 2015 11:52:38 +0000 (20:52 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 14 Apr 2015 12:04:01 +0000 (21:04 +0900)
commitbf2170eb8bdf7e8ca75c7c584f017b4fc1a45080
tree4582592ff13a2fc905259eea0f0fecaa745d05a7
parent3707c0b985611c2e6d23dbe75361dc756c2e36f6
elm_glview: make_current(NULL, NULL) before delete

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.
src/lib/elm_glview.c