From 98aac6118d69c94d8954d5cc0347ffb5c67eeeb5 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 8 Feb 2017 18:38:42 +0900 Subject: [PATCH] evas gl generic - comment switch fallthrough as intended this is intended. document as such. --- src/modules/evas/engines/gl_generic/evas_engine.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c index e0e3f6d..49ef878 100644 --- a/src/modules/evas/engines/gl_generic/evas_engine.c +++ b/src/modules/evas/engines/gl_generic/evas_engine.c @@ -3018,8 +3018,10 @@ eng_image_data_slice_add(void *engdata, void *image, { case EFL_GFX_COLORSPACE_ARGB8888: bpp = 4; + // falltrhough is intended case EFL_GFX_COLORSPACE_AGRY88: if (!bpp) bpp = 2; + // falltrhough is intended case EFL_GFX_COLORSPACE_GRY8: if (!bpp) bpp = 1; if (plane != 0) goto fail; -- 2.7.4