Jump to content
  • Advertisement
Sign in to follow this  
Pandamoneum

SDL_RESIZABLE

This topic is 3274 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!