evas: fix error checking of eglBindAPI.
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Nov 2015 22:42:58 +0000 (14:42 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 10 Nov 2015 22:43:02 +0000 (14:43 -0800)
commitc20457e33d4eee89760bf88f6d0d5d75cd3fbca5
treec5f059d7d6cd0346f73f33d157653f89ffc0678f
parent33809c969cec5c65bd2ea608283ac1f179278f0b
evas: fix error checking of eglBindAPI.

Summary:
if eglGetError sequencially called, second eglGetError() doesn't give
the information of real Error.

Reviewers: jpeg, spacegrapher, cedric

Reviewed By: cedric

Subscribers: wonsik, scholb.kim, cedric, dkdk

Differential Revision: https://phab.enlightenment.org/D3305

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/modules/evas/engines/wayland_egl/evas_wl_main.c