[SDL] Bug in SDL_resize.c

Sam Lantinga slouken at devolution.com
Mon Sep 2 12:25:01 PDT 2002

> SDL_SetVideoMode(400, 300, 32, SDL_OPENGL|SDL_RESIZABLE);

> We'd like to get SDL_VIDEORESIZE every time the size of the
> window is changed. But, since SDL_VideoSurface never changes,

Ah, but you need to respond to the resize message by setting
the video mode to the new width and height.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list