I spent a good couple hours chasing my tail debuging
my application because I wasn’t calling
SDL_SetVideoMode after I recieved an SDL_RESIZABLE
message.
IMHO I believe here is a good change to the docs:
-
Under the SDL_SetVideoMode documentation: boldface
the part of the flag description of SDL_RESIZABLE:
“… and SDL_SetVideoMode can be called again with the
new size.” and change “can” to “should” (in keeping
with current SDL_ResizeEvent documentation). -
Under the SDL_ResizeEvent documentation: boldface
the phrase “When an SDL_VIDEORESIZE is recieved the
window should be resized to the new dimensions using
SDL_SetVideoMode.”
These points are obvious for people sticking to using
SDL blitting functions, but not so obvious for people
using OpenGL to render the screen.__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com