Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDL] Fix error "Renderer already associated with window" #390

Merged
merged 1 commit into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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