index f08957c5c3233e313d20f8ea778dcdf348b89819..39b6e4330ef71754142a013ee8807501c97805ff 100644 (file)
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$MODE DELPHI}
+{$INCLUDE e_amodes.inc}
unit e_graphics;
interface
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);