Evas GL: Don't call eglMakeCurrent if already null
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 Oct 2015 12:32:11 +0000 (21:32 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 15 Oct 2015 07:20:53 +0000 (16:20 +0900)
commit079436d4f190faed842dce14276231a0907cba2a
tree06dd9891b7349f85082b584f485b14bdd080f7d6
parent261f083c4e7cf1f2c15cecb153d27180dc1278ee
Evas GL: Don't call eglMakeCurrent if already null

If the current context & surface are already null, avoid
calling eglMakeCurrent again, since it can return an error
(EGL_FALSE but with no error code, thanks Nvidia).
src/modules/evas/engines/gl_x11/evas_engine.c