Skip to content

Commit

Permalink
[SDL] Fix error "Renderer already associated with window"
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendovsky committed Oct 26, 2021
1 parent e6fbde9 commit 8a64427
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Fixed
- Cancel strafe movement if both keys are pressed.
- [SDL] Reduce CPU usage for digitized low-pass filtering.
- [SDL] Error "Renderer already associated with window".
- Option `vid_renderer` now works in command-line.
- [OAL] Load AL symbols within context.
- [OAL] List only available extensions.
Expand Down
3 changes: 0 additions & 3 deletions src/bstone_sw_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Free Software Foundation, Inc.,
#include "bstone_logger.h"
#include "bstone_sdl_exception.h"
#include "bstone_sdl_texture_lock.h"
#include "bstone_sdl_utils.h"
#include "bstone_video.h"

#include "bstone_detail_ren_3d_utils.h"
Expand Down Expand Up @@ -1160,8 +1159,6 @@ try
vid_layout_.window_height,
window_flags
))};

bstone::sdl::fill_window_black(window_.get());
}
catch (...)
{
Expand Down

0 comments on commit 8a64427

Please sign in to comment.