adjusted size initialization in font textures

This commit is contained in:
codeanticode
2012-06-21 20:37:05 +00:00
parent 56b4b47236
commit 1710965a7c
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}