From e6b5ec95f101b5dae5d9cfa71a5d12c655b343ce Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 28 Mar 2009 01:45:59 +0000 Subject: [PATCH] wtf was it freeing right after setup? comment out lines. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39765 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/xrender_x11/evas_engine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/engines/xrender_x11/evas_engine.c b/src/modules/engines/xrender_x11/evas_engine.c index 3e4fd2d..03644ea 100644 --- a/src/modules/engines/xrender_x11/evas_engine.c +++ b/src/modules/engines/xrender_x11/evas_engine.c @@ -150,8 +150,8 @@ _output_xlib_setup(int width, else re->mask_output = NULL; - if (re->output) _xr_xlib_render_surface_free(re->output); - if (re->mask_output) _xr_xlib_render_surface_free(re->mask_output); +// if (re->output) _xr_xlib_render_surface_free(re->output); +// if (re->mask_output) _xr_xlib_render_surface_free(re->mask_output); re->x11.sync = _xlib_sync; @@ -475,7 +475,7 @@ eng_output_resize(void *data, int w, int h) re = (Render_Engine *)data; if (re->output) { - if ((re->output->width == w) && (re->output->height ==h)) return; + if ((re->output->width == w) && (re->output->height == h)) return; if (re->output) re->render_surface_free(re->output); } re->output = re->render_surface_adopt(re->xinf, re->x11.window, w, h, 0); -- 2.7.4