]> git.sur5r.net Git - cc65/commitdiff
Added explicit tgi_clear() after tgi_init() now that this isn't done by tgi_init...
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 26 Jan 2010 20:12:35 +0000 (20:12 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 26 Jan 2010 20:12:35 +0000 (20:12 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4561 b7a2c559-68d2-44c3-8de9-860c34a00d81

samples/tgidemo.c

index 92121c9d93f074ef5cda3b7df3e5878e470c44ea..49d4c990510422b9dc367c7b238af4990416c448 100644 (file)
@@ -186,6 +186,7 @@ int main (void)
     CheckError ("tgi_load_driver");
     tgi_init ();
     CheckError ("tgi_init");
+    tgi_clear ();
 
     /* Get stuff from the driver */
     MaxX = tgi_getmaxx ();