diff options
author | Simon Howard | 2006-08-31 22:11:08 +0000 |
---|---|---|
committer | Simon Howard | 2006-08-31 22:11:08 +0000 |
commit | 4963848a8f9324336450def14a119d60abdacb4e (patch) | |
tree | d0dc14f79446360a9a99b4791392cd77a5d46862 /src/d_main.c | |
parent | c0d6fcfe030283878714664f279bcf007e6e2a4f (diff) | |
download | chocolate-doom-4963848a8f9324336450def14a119d60abdacb4e.tar.gz chocolate-doom-4963848a8f9324336450def14a119d60abdacb4e.tar.bz2 chocolate-doom-4963848a8f9324336450def14a119d60abdacb4e.zip |
Call R_ExecuteSetViewSize immediately after calling I_InitGraphics.
I_InitGraphics can change where screens[0] points to, so the player can
end up with a blank screen sometimes. Thanks to Kurn for reporting this.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 591
Diffstat (limited to 'src/d_main.c')
-rw-r--r-- | src/d_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/d_main.c b/src/d_main.c index 9e74eb3b..7d26fa3f 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_main.c 582 2006-08-31 18:13:23Z fraggle $ +// $Id: d_main.c 591 2006-08-31 22:11:08Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -184,7 +184,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: d_main.c 582 2006-08-31 18:13:23Z fraggle $"; +static const char rcsid[] = "$Id: d_main.c 591 2006-08-31 22:11:08Z fraggle $"; #define BGCOLOR 7 #define FGCOLOR 8 @@ -575,6 +575,8 @@ void D_DoomLoop (void) I_InitGraphics (); + R_ExecuteSetViewSize(); + D_StartGameLoop(); while (1) |