mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 01:40:28 +00:00
vulkan_sdl3: fix (initial) fs setting
This commit is contained in:
@@ -795,7 +795,7 @@ void* display_vulkan_init(module* parent, const char* fmt, unsigned int flags) {
|
||||
|
||||
int window_flags = args.window_flags | SDL_WINDOW_RESIZABLE | SDL_WINDOW_VULKAN | SDL_WINDOW_HIGH_PIXEL_DENSITY;
|
||||
if (s->fullscreen) {
|
||||
SDL_CHECK(SDL_SetWindowFullscreen(s->window, true));
|
||||
window_flags |= SDL_WINDOW_FULLSCREEN;
|
||||
}
|
||||
|
||||
s->window = SDL_CreateWindow(window_title, s->width, s->height, window_flags);
|
||||
|
||||
Reference in New Issue
Block a user