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:21 +0200
commit0bcc9998022a43615185d9c464a77b9a78368961 (patch)
treef6967602c4a8726818a6aef45b37a2529a6a55cf
parent73ae8c4c877447f517ecc9517100d5465fa24408 (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 a9642548fa..ac3397c10d 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -936,9 +936,8 @@ eng_setup(Evas *eo_e, void *in)
936 936
937 if (re->win) 937 if (re->win)
938 { 938 {
939 re->win->gl_context->references++;
940 eng_window_free(re->win);
941 inc = 1; 939 inc = 1;
940 eng_window_free(re->win);
942 gl_wins--; 941 gl_wins--;
943 } 942 }
944 re->w = e->output.w; 943 re->w = e->output.w;