From: Ketmar Dark Date: Fri, 2 Jun 2017 20:32:28 +0000 (+0300) Subject: fixed ancient typo X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=d3e8419d14ad3579884892a89cf54445e37c0051;p=d2df-sdl.git fixed ancient typo --- 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);