evas_gl_cocoa: fix segmentation fault at program exit 94/78794/1
authorThiep Ha <thiep.ha@samsung.com>
Thu, 7 Jul 2016 01:51:56 +0000 (10:51 +0900)
committerThiep Ha <thiep.ha@samsung.com>
Thu, 7 Jul 2016 01:51:56 +0000 (10:51 +0900)
commit2c95cac1b47447807a2a4b6d96d1d13e6abc4105
tree268be9bf7bb4e71ca9035c7575c03dfba05a4045
parentbf13290fbcdc603f532cb2b01685e9f8a77e77e9
evas_gl_cocoa: fix segmentation fault at program exit

From 8fb153cf8cab550121136aeb2710fc2d9f42fadc Mon Sep 17 00:00:00 2001
From: Jean Guyomarc'h <jean.guyomarch@gmail.com>
Date: Sat, 2 Apr 2016 22:19:29 +0200
Subject: [PATCH] evas_gl_cocoa: fix segmentation fault at program exit

Programs crashed on a segmentation fault when the last window was
closed. The eng_output_idle_flush() function was removed... but
since gl_cocoa does not properly use *_generic modules, the
output_idle_flush() function called by the render engine was
garbage (hence the segfault).

Change-Id: Idc7ef41fd2933ebb4cea75c9f592d5637b636cba
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
src/modules/evas/engines/gl_cocoa/evas_engine.c