diff dmsimple.c @ 94:4bbfc0274b29

Change some function names, etc.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 18:14:44 +0300
parents 15fdd5573344
children d5d27f262227
line wrap: on
line diff
--- a/dmsimple.c	Tue Oct 02 18:13:05 2012 +0300
+++ b/dmsimple.c	Tue Oct 02 18:14:44 2012 +0300
@@ -321,7 +321,7 @@
     }
 
     // Final initializations
-    if ((err = demoGlobalInit()) != DMERR_OK)
+    if ((err = demoInit()) != DMERR_OK)
         goto error_exit;
 
 #ifdef DM_DEBUG
@@ -451,10 +451,12 @@
 
     dmres_close();    
 
+    demoShutdown();
+
     if (initSDL)
         SDL_Quit();
 
-    demoFinish();
+    demoQuit();
     
     return 0;
 }