[Tizen] Fix shader compile crash issue 47/276647/1 accepted/tizen/unified/20220624.143409 submit/tizen/20220624.052443
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 22 Jun 2022 09:27:23 +0000 (18:27 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 22 Jun 2022 11:42:54 +0000 (20:42 +0900)
commit9222ae8d593d7eba74f2cbb608d20dc19d623c47
tree4dd17c0e73fa9c950d1d7c8077f3dda7c3711d56
parent397f4aeed26dcfbe111ecaae6ddb4edaa6214d03
[Tizen] Fix shader compile crash issue

Due to the unknown reason, we got crash during glShaderSource.
To "avoid" that crash, we fix the code that we don't use !defined(~)

Change-Id: I54c7278baffb16ee63481ea92ccc67baa227b071
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/graphics/shaders/color-visual-shader.frag
dali-toolkit/internal/graphics/shaders/color-visual-shader.vert