square window size (samply imgs are square)
This commit is contained in:
parent
d65a270aab
commit
6a826d4b37
2 changed files with 6 additions and 7 deletions
|
@ -81,7 +81,7 @@ SDL_AppInit(void **as, int argc, char **argv)
|
|||
SDL_SetHint(SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT, "1");
|
||||
|
||||
babble("create win+render...");
|
||||
if (!SDL_CreateWindowAndRenderer("slutpet", 320, 240,
|
||||
if (!SDL_CreateWindowAndRenderer("slutpet", 320, 320,
|
||||
SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS
|
||||
| SDL_WINDOW_NOT_FOCUSABLE
|
||||
| SDL_WINDOW_ALWAYS_ON_TOP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue