Skip to content

Commit

Permalink
Merge pull request #7399 from mahi6299/display-on-mobile
Browse files Browse the repository at this point in the history
The text properly displayed on Mobile.
  • Loading branch information
davepagurek authored Dec 1, 2024
2 parents 47a8225 + aa974c5 commit 2e112a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webgl/p5.RendererGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -2044,9 +2044,9 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
}
this._defaultFontShader = new p5.Shader(
this,
this._webGL2CompatibilityPrefix('vert', 'mediump') +
this._webGL2CompatibilityPrefix('vert', 'highp') +
defaultShaders.fontVert,
this._webGL2CompatibilityPrefix('frag', 'mediump') +
this._webGL2CompatibilityPrefix('frag', 'highp') +
defaultShaders.fontFrag
);
}
Expand Down

0 comments on commit 2e112a4

Please sign in to comment.