summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 02aa579)
raw | patch | inline | side by side (parent: 02aa579)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Fri, 2 Jun 2017 20:32:28 +0000 (23:32 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Fri, 2 Jun 2017 20:32:42 +0000 (23:32 +0300) |
src/engine/e_graphics.pas | patch | blob | history |
index f08957c5c3233e313d20f8ea778dcdf348b89819..d3cb67e0d7e221191a3f367026351f06be8a0e4f 100644 (file)
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);