diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-11-18 01:06:46 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-11-18 01:06:46 +0000 |
commit | 0d2333019b693d730706d7a7708024f5db74f040 (patch) | |
tree | 702c9e12fd9b759d2837b959d6e3360fff7f00c8 /code/client/cl_main.c | |
parent | 1f3440d28940f3edeef7e02b21081fede99e8ed0 (diff) | |
download | ioquake3-aero-0d2333019b693d730706d7a7708024f5db74f040.tar.gz ioquake3-aero-0d2333019b693d730706d7a7708024f5db74f040.zip |
* Fix bug where an extraneous render command can cause a crash when
recording video
* Make S_CodecUtilClose NULL the snd_stream_t pointer
* Fix indentation in runtime SDL check code
git-svn-id: svn://svn.icculus.org/quake3/trunk@1214 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_main.c')
-rw-r--r-- | code/client/cl_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 100cb3b..d77633c 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -889,6 +889,8 @@ void CL_Disconnect( qboolean showMainMenu ) { // Stop recording any video if( CL_VideoRecording( ) ) { + // Finish rendering current frame + SCR_UpdateScreen( ); CL_CloseAVI( ); } CL_UpdateGUID( NULL, 0 ); |