diff options
Diffstat (limited to 'src/quick/scenegraph/shaders/styledtext.vert')
-rw-r--r-- | src/quick/scenegraph/shaders/styledtext.vert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/shaders/styledtext.vert b/src/quick/scenegraph/shaders/styledtext.vert index 3ad9497b65..14fefc2564 100644 --- a/src/quick/scenegraph/shaders/styledtext.vert +++ b/src/quick/scenegraph/shaders/styledtext.vert @@ -12,5 +12,5 @@ void main() { sampleCoord = tCoord * textureScale; shiftedSampleCoord = (tCoord - shift) * textureScale; - gl_Position = matrix * vCoord; -}
\ No newline at end of file + gl_Position = matrix * floor(vCoord + 0.5); +} |