Browse Source

testclipboard: make the window resizable

This is handy to see multiple image formats on the clipboard
Sam Lantinga 3 days ago
parent
commit
9d3dd8f001
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testclipboard.c

+ 1 - 1
test/testclipboard.c

@@ -46,7 +46,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
         return SDL_APP_FAILURE;
     }
 
-    if (!SDL_CreateWindowAndRenderer("testclipboard", 640, 480, 0, &window, &renderer)) {
+    if (!SDL_CreateWindowAndRenderer("testclipboard", 640, 480, SDL_WINDOW_RESIZABLE, &window, &renderer)) {
         SDL_Log("Couldn't create window and renderer: %s", SDL_GetError());
         return SDL_APP_FAILURE;
     }