evas gl: Make sure a deleted image can't be the target
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 30 Mar 2017 01:26:24 +0000 (10:26 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 14 Apr 2017 02:26:44 +0000 (11:26 +0900)
commite7eb97f3b076e4d51752d3bdb1e68528d5140872
tree0fd1edfc6a624070b874fc93e4b57b09733777c0
parent06a7beec529d741d9060878ce1fb740cf57804ad
evas gl: Make sure a deleted image can't be the target

If we delete the image that was the target surface for gl
rendering, a crash would occur on the next render cycle.
Unlikely but not impossible to trigger from app side.

@fix
src/modules/evas/engines/gl_common/evas_gl_image.c