mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +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:
parent
88cb1a9fd8
commit
ea85c5b05d
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user