Evas GL: Avoid make_current(0,0) during destroy
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 Oct 2015 07:58:05 +0000 (16:58 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 Oct 2015 10:46:47 +0000 (19:46 +0900)
commit86d1b190c2c013db3b8bad6644aa28c303fe2f2d
treeab6b815ced156a09a453e53adcde0635d21158d9
parenta1be855fe4a0c36628e1393090d78bfb3236df07
Evas GL: Avoid make_current(0,0) during destroy

Show an error message and call make_current(NULL, NULL) only if
the object (context, surface) being destroyed is current.

Otherwise, avoid changing the current context & surface.
src/modules/evas/engines/gl_common/evas_gl_core.c