evas_gl: fix evas_gl_current_context_get() 19/144819/2
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Wed, 29 Mar 2017 08:06:12 +0000 (17:06 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 18 Aug 2017 05:56:53 +0000 (05:56 +0000)
commit838849bd60ee3744acd0d69ba0dad7156bb84b53
tree6b638d9684798790c3dc0be6b35dd20b27d0b82d
parent5fb26b98fcf8043b42eb1ab272a2e219813abe6d
evas_gl: fix evas_gl_current_context_get()

evas_gl_current_context_get() function should return
the context of evas_gl_common_current_context_get()
becuase CONTEXT_RESTORE feature was added.
CONTEXT_RESTORE makes app call evas_gl_make_current() only once
without evas_gl context switching.

Change-Id: Ic4cc77f419d1e40ecd0a3eb0d6e7022488d64cdc
src/modules/evas/engines/gl_x11/evas_engine.c
src/modules/evas/engines/wayland_egl/evas_engine.c