Skip to content

Commit d8d621c

Browse files
committed
display-on-mobile
1 parent 33883e5 commit d8d621c

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)