mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
tgi_init does no longer take params
git-svn-id: svn://svn.cc65.org/cc65/trunk@1915 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -166,14 +166,14 @@ static void DoLines (void)
|
|||||||
|
|
||||||
tgi_setpalette (Palette);
|
tgi_setpalette (Palette);
|
||||||
tgi_setcolor (1);
|
tgi_setcolor (1);
|
||||||
|
|
||||||
for (X = 0; X < 200; X+=10) {
|
for (X = 0; X < 200; X+=10) {
|
||||||
tgi_line(0, 0, 200, X);
|
tgi_line(0, 0, 200, X);
|
||||||
tgi_line(0, 0, X, 200);
|
tgi_line(0, 0, X, 200);
|
||||||
tgi_line(200, 200, 0, 200-X);
|
tgi_line(200, 200, 0, 200-X);
|
||||||
tgi_line(200, 200, 200-X, 0);
|
tgi_line(200, 200, 200-X, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
cgetc ();
|
cgetc ();
|
||||||
tgi_clear ();
|
tgi_clear ();
|
||||||
}
|
}
|
||||||
@@ -188,7 +188,7 @@ int main (void)
|
|||||||
/* Load and initialize the driver */
|
/* Load and initialize the driver */
|
||||||
tgi_load (TGI_MODE_320_200_2);
|
tgi_load (TGI_MODE_320_200_2);
|
||||||
CheckError ("tgi_load");
|
CheckError ("tgi_load");
|
||||||
tgi_init (TGI_MODE_320_200_2);
|
tgi_init ();
|
||||||
CheckError ("tgi_init");
|
CheckError ("tgi_init");
|
||||||
|
|
||||||
/* Get stuff from the driver */
|
/* Get stuff from the driver */
|
||||||
|
Reference in New Issue
Block a user