projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e609beb
)
[4.0] Fix the text artifact (i.e. vertical lines below the text) while scrolling
84/155884/1
author
Richard Huang
<r.huang@samsung.com>
Fri, 13 Oct 2017 10:39:12 +0000
(11:39 +0100)
committer
Jinho, Lee
<jeano.lee@samsung.com>
Mon, 16 Oct 2017 10:55:57 +0000
(19:55 +0900)
Change-Id: Ia9af286cbf5e4dbd551cee73bd1c41dd3674cd4d
dali-toolkit/internal/text/text-scroller.cpp
patch
|
blob
|
history
diff --git
a/dali-toolkit/internal/text/text-scroller.cpp
b/dali-toolkit/internal/text/text-scroller.cpp
index
e85a2fd
..
dbc16eb
100644
(file)
--- a/
dali-toolkit/internal/text/text-scroller.cpp
+++ b/
dali-toolkit/internal/text/text-scroller.cpp
@@
-84,6
+84,8
@@
const char* FRAGMENT_SHADER = DALI_COMPOSE_SHADER(
\n
void main()\n
{\n
\n
void main()\n
{\n
+ if ( vTexCoord.y > 1.0 )\n
+ discard;\n
gl_FragColor = texture2D( sTexture, vTexCoord );\n
}\n
);
gl_FragColor = texture2D( sTexture, vTexCoord );\n
}\n
);