From: Daekwang Ryu Date: Wed, 16 Aug 2017 02:47:23 +0000 (+0900) Subject: glview: fix a condition that is identical to previous X-Git-Tag: submit/tizen_3.0/20170825.055425~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ca1ca0d96f2d24d0589a8ed256936cc899d6799;p=platform%2Fupstream%2Felementary.git glview: fix a condition that is identical to previous Change-Id: Ib41f90c406d83ce10851441280e3c2652e701ea4 --- diff --git a/src/lib/elm_glview.c b/src/lib/elm_glview.c index b59ecc04b..4b2ed73cb 100644 --- a/src/lib/elm_glview.c +++ b/src/lib/elm_glview.c @@ -381,7 +381,7 @@ _elm_glview_mode_set(Eo *obj, Elm_Glview_Data *sd, Elm_GLView_Mode mode) const int mask = 7 << 9; if ((mode & mask) == (ELM_GLVIEW_STENCIL_1 & mask)) sd->config->stencil_bits = EVAS_GL_STENCIL_BIT_1; - else if ((mode & mask) == (ELM_GLVIEW_STENCIL_1 & mask)) + else if ((mode & mask) == (ELM_GLVIEW_STENCIL_2 & mask)) sd->config->stencil_bits = EVAS_GL_STENCIL_BIT_2; else if ((mode & mask) == (ELM_GLVIEW_STENCIL_4 & mask)) sd->config->stencil_bits = EVAS_GL_STENCIL_BIT_4;