diff options
-rw-r--r-- | src/runtime/shaders/distancefieldtext_dropshadow.vert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/shaders/distancefieldtext_dropshadow.vert b/src/runtime/shaders/distancefieldtext_dropshadow.vert index b176cc7..afcd582 100644 --- a/src/runtime/shaders/distancefieldtext_dropshadow.vert +++ b/src/runtime/shaders/distancefieldtext_dropshadow.vert @@ -74,11 +74,11 @@ void main() alphas = alphaRange(scale); #endif - highp vec2 textureSizeMultiplier = vec2(1.0 / highp float(textureWidth), 1.0 / float(textureHeight)); + highp vec2 textureSizeMultiplier = vec2(1.0 / float(textureWidth), 1.0 / float(textureHeight)); sampleCoord = tCoord * textureSizeMultiplier; shadowSampleCoord = (tCoord - shadowOffset) * textureSizeMultiplier; - normalizedTextureBounds = highp vec4(textureBounds.xy * textureSizeMultiplier, + normalizedTextureBounds = vec4(textureBounds.xy * textureSizeMultiplier, textureBounds.zw * textureSizeMultiplier); gl_Position = mvp * vCoord; |