From a84229dcaf5b110ca6cd316998529e5346fd6594 Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Sat, 3 Oct 2009 11:10:26 +0000 Subject: [PATCH] Leveraged tgi_stddrv (like tgidemo). git-svn-id: svn://svn.cc65.org/cc65/trunk@4312 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- samples/mandelbrot.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/samples/mandelbrot.c b/samples/mandelbrot.c index 333fb65db..461001d58 100644 --- a/samples/mandelbrot.c +++ b/samples/mandelbrot.c @@ -14,11 +14,6 @@ /* Graphics definitions */ -#if defined(__APPLE2__) || defined(__APPLE2ENH__) -# define GRAPHMODE TGI_MODE_280_192_8 -#else -# define GRAPHMODE TGI_MODE_320_200_2 -#endif #define SCREEN_X (tgi_getxres()) #define SCREEN_Y (tgi_getyres()) #define MAXCOL (tgi_getcolorcount()) @@ -97,7 +92,7 @@ int main (void) /* Load the graphics driver */ cprintf ("initializing... mompls\r\n"); - tgi_load (GRAPHMODE); + tgi_load_driver (tgi_stddrv); err = tgi_geterror (); if (err != TGI_ERR_OK) { cprintf ("Error #%d initializing graphics.\r\n%s\r\n", -- 2.39.5