mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
adjusted size initialization in font textures
This commit is contained in:
@@ -113,7 +113,7 @@ class PFontTexture implements PConstants {
|
||||
h = PApplet.min(2 * textures[currentTex].glHeight, maxTexHeight);
|
||||
resize = true;
|
||||
} else {
|
||||
h = PApplet.min(PGraphicsOpenGL.maxTextureSize, maxTexHeight / 4);
|
||||
h = PApplet.min(PGraphicsOpenGL.maxTextureSize, PGL.MAX_FONT_TEX_SIZE / 2, maxTexHeight / 4);
|
||||
resize = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user