some more window creation flags
This commit is contained in:
parent
51d85c011b
commit
0e6aa620aa
1 changed files with 3 additions and 1 deletions
|
@ -83,7 +83,9 @@ SDL_AppInit(void **as, int argc, char **argv)
|
|||
|
||||
SDL_Log("create win+render...");
|
||||
if (!SDL_CreateWindowAndRenderer("slutpet", 320, 240,
|
||||
SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS,
|
||||
SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS
|
||||
| SDL_WINDOW_NOT_FOCUSABLE
|
||||
| SDL_WINDOW_ALWAYS_ON_TOP,
|
||||
&st->win, &st->ren)) {
|
||||
SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"win creation fail: %s", SDL_GetError());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue