mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix after merge
This commit is contained in:
parent
62ab514f13
commit
686a20cc81
1 changed files with 2 additions and 1 deletions
|
|
@ -151,7 +151,8 @@ SDLWindow::SDLWindow(DisplaySettings *settings, std::string title) noexcept {
|
||||||
|
|
||||||
SDL_WindowFlags flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE;
|
SDL_WindowFlags flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE;
|
||||||
|
|
||||||
if (settings->fullscreen.get()) {
|
if (settings->windowMode.get() ==
|
||||||
|
static_cast<int>(WindowMode::FULLSCREEN)) {
|
||||||
flags |= SDL_WINDOW_FULLSCREEN;
|
flags |= SDL_WINDOW_FULLSCREEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue