From: <web...@pr...> - 2017-09-10 12:24:19
|
Author: entryway Date: Sun Sep 10 11:58:52 2017 New Revision: 4527 Log: changing resolution on the fly does not destroy current window Modified: branches/prboom-plus-24/prboom2/src/SDL/i_video.c Modified: branches/prboom-plus-24/prboom2/src/SDL/i_video.c ============================================================================== --- branches/prboom-plus-24/prboom2/src/SDL/i_video.c Thu May 18 16:46:31 2017 (r4526) +++ branches/prboom-plus-24/prboom2/src/SDL/i_video.c Sun Sep 10 11:58:52 2017 (r4527) @@ -1130,7 +1130,7 @@ { int init_flags = 0; - if(screen) + if(sdl_window) { // video capturing cannot be continued with new screen settings I_CaptureFinish(); |