summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2014-09-30 16:29:31 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-30 16:32:03 +0200
commit895692f0cd3d4c789ae331e6315cfc2422d2a658 (patch)
tree9210731012c8ca7c068a06fd7011629d303b17f3
parent5c852d1f4e060099bb66f3ee03a451fe97a5b03c (diff)
evas: GL_X11 - make sure to re-create the gl context when window visual change
Reviewers: cedric Subscribers: seoz, capOM, cedric Differential Revision: https://phab.enlightenment.org/D1229 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index fc29326af5..e1caf3a19e 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -940,9 +940,8 @@ eng_setup(Evas *eo_e, void *in)
940 940
941 if (re->win) 941 if (re->win)
942 { 942 {
943 re->win->gl_context->references++;
944 eng_window_free(re->win);
945 inc = 1; 943 inc = 1;
944 eng_window_free(re->win);
946 gl_wins--; 945 gl_wins--;
947 } 946 }
948 re->w = e->output.w; 947 re->w = e->output.w;