Define a standard driver and mode for tgi graphics and use it in the sample
program. The standard driver and mode is the first one in the tgi_mode_table. git-svn-id: svn://svn.cc65.org/cc65/trunk@4153 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -7,11 +7,6 @@
|
||||
|
||||
|
||||
|
||||
#if defined(__APPLE2__) || defined(__APPLE2ENH__)
|
||||
# define TGI_MODE TGI_MODE_280_192_8
|
||||
#else
|
||||
# define TGI_MODE TGI_MODE_320_200_2
|
||||
#endif
|
||||
#define COLOR_BACK COLOR_BLACK
|
||||
#define COLOR_FORE COLOR_WHITE
|
||||
|
||||
@@ -203,7 +198,7 @@ int main (void)
|
||||
DoWarning ();
|
||||
|
||||
/* Load and initialize the driver */
|
||||
tgi_load (TGI_MODE);
|
||||
tgi_load_driver (tgi_stddrv);
|
||||
CheckError ("tgi_load");
|
||||
tgi_init ();
|
||||
CheckError ("tgi_init");
|
||||
|
||||
Reference in New Issue
Block a user