[Gridflow-cvs] [svn] commit: r3749 - /trunk/format/sdl.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Jun 2 13:54:07 EDT 2008


Author: matju
Date: Mon Jun  2 13:54:07 2008
New Revision: 3749

Log:
close window when [#out sdl] is closed or destroyed

Modified:
    trunk/format/sdl.c

Modified: trunk/format/sdl.c
==============================================================================
--- trunk/format/sdl.c (original)
+++ trunk/format/sdl.c Mon Jun  2 13:54:07 2008
@@ -31,6 +31,7 @@
 #include <SDL/SDL.h>
 
 static bool in_use = false;
+static 
 
 struct FormatSDL;
 void FormatSDL_call(FormatSDL *self);
@@ -64,6 +65,7 @@
 	~FormatSDL () {
 		clock_unset(clock);
 		clock_free(clock);
+		SDL_Quit();
 		in_use=false;
 	}
 };



More information about the Gridflow-cvs mailing list