forked from mia/Aegisub
Fix bug where the first gl glyph in each row after the first would be overwritten, resulting in the incorrect number being shown in the cross visual tool
Originally committed to SVN as r5060.
This commit is contained in:
parent
73c0515954
commit
5f0ba21e30
1 changed files with 2 additions and 1 deletions
|
@ -288,8 +288,9 @@ bool OpenGLTextTexture::TryToInsert(OpenGLTextGlyph &glyph) {
|
|||
if (nextY+h > height) return false;
|
||||
x = 0;
|
||||
y = nextY;
|
||||
nextY = y+h;
|
||||
Insert(glyph);
|
||||
x += w;
|
||||
nextY = y+h;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue