From 45d846814f813b8575276edf0ee9586d7cd25ecc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 14 Feb 2017 10:54:32 +0900 Subject: [PATCH] evas gl: Fix memory tracking See b16c961680579ad13 which by "fixing" indentation changed the logic of the code. Yes the indentation was misleading (because of the #if / #else) but the logic was correct. Anyway this is was not a harmful issue as those memory trackers aren't really used. --- src/modules/evas/engines/gl_common/evas_gl_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c b/src/modules/evas/engines/gl_common/evas_gl_core.c index 9eb4c0d..b50adfc 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_core.c +++ b/src/modules/evas/engines/gl_common/evas_gl_core.c @@ -1344,8 +1344,8 @@ _surface_buffers_allocate(void *eng_data EINA_UNUSED, EVGL_Surface *sfc, int w, _renderbuffer_allocate(sfc->depth_stencil_buf, sfc->depth_stencil_fmt, w, h, sfc->msaa_samples); - sfc->buffer_mem[3] = w * h * 4; } + sfc->buffer_mem[3] = w * h * 4; } else { -- 2.7.4