From ea85c5b05d40a97e13c6485a666d588445a7e791 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 1 Feb 2003 21:48:01 +0000 Subject: [PATCH] tgi_init does no longer take params git-svn-id: svn://svn.cc65.org/cc65/trunk@1915 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- samples/tgidemo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/tgidemo.c b/samples/tgidemo.c index d6b1586ae..295d99845 100644 --- a/samples/tgidemo.c +++ b/samples/tgidemo.c @@ -166,14 +166,14 @@ static void DoLines (void) tgi_setpalette (Palette); tgi_setcolor (1); - + for (X = 0; X < 200; X+=10) { tgi_line(0, 0, 200, X); tgi_line(0, 0, X, 200); tgi_line(200, 200, 0, 200-X); tgi_line(200, 200, 200-X, 0); } - + cgetc (); tgi_clear (); } @@ -188,7 +188,7 @@ int main (void) /* Load and initialize the driver */ tgi_load (TGI_MODE_320_200_2); CheckError ("tgi_load"); - tgi_init (TGI_MODE_320_200_2); + tgi_init (); CheckError ("tgi_init"); /* Get stuff from the driver */ -- 2.39.5