Advertisement Jump to content
Sign in to follow this  
Pandamoneum

SDL_RESIZABLE

This topic is 3362 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
I'm not sure what you mean. It does not affect the size at all. It just enables the user to resize the window. You have to handle those resize events as they occur.

Share this post


Link to post
Share on other sites
Check the docs. width and height are passed by value, not reference (pointer, since this is a C interface), so there is no way they could be modified in the call (or anytime after it).

Furthermore, read down a little more, and you see:
Quote:
SDL_RESIZABLE: Create a resizable window. When the window is resized by the user a SDL_VIDEORESIZE event is generated and SDL_SetVideoMode can be called again with the new size.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!