Skip to content

Commit e22cf9d

Browse files
committed
vulkan_sdl3: fix (initial) fs setting
1 parent 09c47b7 commit e22cf9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video_display/vulkan/vulkan_sdl3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ void* display_vulkan_init(module* parent, const char* fmt, unsigned int flags) {
795795

796796
int window_flags = args.window_flags | SDL_WINDOW_RESIZABLE | SDL_WINDOW_VULKAN | SDL_WINDOW_HIGH_PIXEL_DENSITY;
797797
if (s->fullscreen) {
798-
SDL_CHECK(SDL_SetWindowFullscreen(s->window, true));
798+
window_flags |= SDL_WINDOW_FULLSCREEN;
799799
}
800800

801801
s->window = SDL_CreateWindow(window_title, s->width, s->height, window_flags);

0 commit comments

Comments
 (0)