projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the text artifact (i.e. vertical lines below the text) while scrolling
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-scroller.cpp
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
+ if ( vTexCoord.y > 1.0 )\n
+ discard;\n
gl_FragColor = texture2D( sTexture, vTexCoord );\n
}\n
);