- Merged the GC branch back into the trunk, so now it can receive more

testing from the people who download SVN trunk builds.

SVN r795 (trunk)
This commit is contained in:
Randy Heit 2008-03-12 02:56:11 +00:00
commit f2660dc336
88 changed files with 2541 additions and 1523 deletions

View file

@ -52,7 +52,11 @@ IVideo *Video;
void I_ShutdownGraphics ()
{
if (screen)
delete screen, screen = NULL;
{
screen->ObjectFlags |= OF_YesReallyDelete;
delete screen;
screen = NULL;
}
if (Video)
delete Video, Video = NULL;
}
@ -61,7 +65,7 @@ void I_InitGraphics ()
{
UCVarValue val;
val.Bool = !!Args.CheckParm ("-devparm");
val.Bool = !!Args->CheckParm ("-devparm");
ticker.SetGenericRepDefault (val, CVAR_Bool);
Video = new SDLVideo (0);