History

Update pt2_visuals.c

Olav Sørensen committed 6 years ago

Commit c06010d1 parent c29ba661 file · +3 −2Browse files

Unified · Split

src/pt2_visuals.c+3−2
@@ -2518,9 +2518,10 @@ bool setupVideo(void) · 2517 unmodified lines
25182518 }
25192519 }
25202520
2521+ uint32_t windowFlags = SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI;
2522+
25212523 video.window = SDL_CreateWindow("", SDL_WINDOWPOS_CENTERED,
2522− SDL_WINDOWPOS_CENTERED, screenW, screenH,
2523− SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI);
2524+ SDL_WINDOWPOS_CENTERED, screenW, screenH, windowFlags);
25242525
25252526 if (video.window == NULL)
25262527 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t