From 9d3dd8f0018270fce92e55356e1b687ba20f40ba Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 10 Oct 2025 16:17:06 -0700 Subject: [PATCH] testclipboard: make the window resizable This is handy to see multiple image formats on the clipboard --- test/testclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testclipboard.c b/test/testclipboard.c index 78c3432b2f..85924bbf8a 100644 --- a/test/testclipboard.c +++ b/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; }