viewport: check old type only if destination type is mode submit/tizen_4.0/20180329.023007
authorBoram Park <boram1288.park@samsung.com>
Thu, 29 Mar 2018 02:07:34 +0000 (11:07 +0900)
committerBoram Park <boram1288.park@samsung.com>
Thu, 29 Mar 2018 02:29:38 +0000 (11:29 +0900)
commitbef90077181afde75a84ef66be5e639388efe162
treea5dcfaf42f43ef4928a1cc0a231e343826a4e9aa
parentc5cdaa10556a91f98670039b6df4b119b661de94
viewport: check old type only if destination type is mode

when destination type becomes mode(letterbox) -> rect -> mode(letterbox), second
mode(letterbox) setting was ignored because destination.mode.type is same with
first setting. So we have to check destination.mode.type only if destination type
is mode.

Change-Id: I6773745c077198c43ca11a818d62eb13d0a1e08a
src/bin/e_comp_wl_viewport.c