Skip to content

Commit 2e112a4

Browse files
authored
Merge pull request #7399 from mahi6299/display-on-mobile
The text properly displayed on Mobile.
2 parents 47a8225 + aa974c5 commit 2e112a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webgl/p5.RendererGL.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2044,9 +2044,9 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
20442044
}
20452045
this._defaultFontShader = new p5.Shader(
20462046
this,
2047-
this._webGL2CompatibilityPrefix('vert', 'mediump') +
2047+
this._webGL2CompatibilityPrefix('vert', 'highp') +
20482048
defaultShaders.fontVert,
2049-
this._webGL2CompatibilityPrefix('frag', 'mediump') +
2049+
this._webGL2CompatibilityPrefix('frag', 'highp') +
20502050
defaultShaders.fontFrag
20512051
);
20522052
}

0 commit comments

Comments
 (0)