mirror of https://github.com/odrling/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
|
@ -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 New Issue