SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL_SetWindowSize limits to desktop resolution, SDL_CreateWindow doesn't.

Open icculus opened this issue 3 years ago • 1 comments

Oh, interesting...SDL_CreateWindow() will let you make a window larger than the desktop, but SDL_SetWindowSize won't.

Originally posted by @icculus in https://github.com/libsdl-org/SDL/issues/3871#issuecomment-1092427167

This was on X11, don't know if that matters yet.

Decide which of these two API calls is correct.

icculus avatar Apr 18 '22 18:04 icculus

I think originally both calls limited window size to desktop resolution, and we removed this limitation in CreateWindow but forgot SetWindowSize. I think there might be some tap dancing needed to make that work on all platforms.

slouken avatar Apr 18 '22 18:04 slouken