evas-gl-common: Fix misleading indentation
authorChris Michael <cp.michael@samsung.com>
Mon, 13 Feb 2017 15:31:59 +0000 (10:31 -0500)
committerChris Michael <cp.michael@samsung.com>
Mon, 13 Feb 2017 15:34:13 +0000 (10:34 -0500)
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 <cp.michael@samsung.com>
src/modules/evas/engines/gl_common/evas_gl_core.c

index 24e6a48..9eb4c0d 100644 (file)
@@ -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
      {