devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b16c961680579ad13eaf598ca696780a6494895a

commit b16c961680579ad13eaf598ca696780a6494895a
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Feb 13 10:31:59 2017 -0500

    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 <cp.mich...@samsung.com>
---
 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 24e6a48..9eb4c0d 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
      {

-- 


Reply via email to