From: cuz Date: Sat, 1 Feb 2003 21:48:01 +0000 (+0000) Subject: tgi_init does no longer take params X-Git-Tag: V2.12.0~1772 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea85c5b05d40a97e13c6485a666d588445a7e791;p=cc65 tgi_init does no longer take params git-svn-id: svn://svn.cc65.org/cc65/trunk@1915 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 */