mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
looping over the glyphTexinfos array using correct limit
This commit is contained in:
@@ -204,7 +204,7 @@ class PFontTexture implements PConstants {
|
||||
|
||||
public void updateGlyphsTexCoords() {
|
||||
// loop over current glyphs.
|
||||
for (int i = 0; i < font.getGlyphCount(); i++) {
|
||||
for (int i = 0; i < glyphTexinfos.length; i++) {
|
||||
TextureInfo tinfo = glyphTexinfos[i];
|
||||
if (tinfo != null && tinfo.texIndex == currentTex) {
|
||||
tinfo.updateUV();
|
||||
|
||||
Reference in New Issue
Block a user