X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fengine%2Fe_graphics.pas;h=d3cb67e0d7e221191a3f367026351f06be8a0e4f;hb=9bd99e6d9059fb7e9baaa55f1e3a9e7b2ff83f9e;hp=f08957c5c3233e313d20f8ea778dcdf348b89819;hpb=8558702f560e3faf9be93f96dfffbf4b6ba34c90;p=d2df-sdl.git diff --git a/src/engine/e_graphics.pas b/src/engine/e_graphics.pas index f08957c..d3cb67e 100644 --- a/src/engine/e_graphics.pas +++ b/src/engine/e_graphics.pas @@ -1380,7 +1380,7 @@ begin glNewList(e_TextureFonts[id].Base+loop1, GL_COMPILE); glBegin(GL_QUADS); glTexCoord2f(cx, 1.0-cy-1/YCount); - glVertex2d(0, e_Textures[Tex].tx.Height div YCount); + glVertex2i(0, e_Textures[Tex].tx.Height div YCount); glTexCoord2f(cx+1/XCount, 1.0-cy-1/YCount); glVertex2i(e_Textures[Tex].tx.Width div XCount, e_Textures[Tex].tx.Height div YCount);