This commit is contained in:
Glenn Maynard
2003-01-05 01:32:08 +00:00
parent 88d73d54e3
commit 7b6af79aad
+2 -2
View File
@@ -160,7 +160,7 @@ void BitmapText::BuildChars()
void BitmapText::DrawChars()
{
for(unsigned start = 0; start < tex.size(); ++start)
for(unsigned start = 0; start < tex.size(); )
{
unsigned end = start;
while(end < tex.size() && tex[end] == tex[start])
@@ -168,7 +168,7 @@ void BitmapText::DrawChars()
DISPLAY->SetTexture( tex[start] );
DISPLAY->DrawQuads( &verts[start*4], (end-start)*4 );
start = end+1;
start = end;
}
}