From b16c961680579ad13eaf598ca696780a6494895a Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 13 Feb 2017 10:31:59 -0500 Subject: [PATCH] evas-gl-common: Fix misleading indentation gcc reports that the 'else' here does not guard the latter statement...seems like a cause of some missing parens so fix. Signed-off-by: Chris Michael --- src/modules/evas/engines/gl_common/evas_gl_core.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 24e6a48b48..9eb4c0dc0f 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_core.c +++ b/src/modules/evas/engines/gl_common/evas_gl_core.c @@ -1340,9 +1340,12 @@ _surface_buffers_allocate(void *eng_data EINA_UNUSED, EVGL_Surface *sfc, int w, } else #endif - _renderbuffer_allocate(sfc->depth_stencil_buf, sfc->depth_stencil_fmt, - w, h, sfc->msaa_samples); - sfc->buffer_mem[3] = w * h * 4; + { + _renderbuffer_allocate(sfc->depth_stencil_buf, + sfc->depth_stencil_fmt, w, h, + sfc->msaa_samples); + sfc->buffer_mem[3] = w * h * 4; + } } else {