Jump to content
  • Advertisement
Sign in to follow this  
SpreeTree

SDL and External API's

This topic is 4558 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

I am in the process of looking for a cross platform way of window management, and I am currently looking at SDL. I will be using multiple API's within the system (both DirectX and OpenGL dependant on the system and the user), and I am concerned this will cause me small problems in the future. I have looked at this tutorial (Direct3D 9.0 with SDL ), and it seems relatively simple, but I am concerned about any overheads I may be carrying with me. I am going to initialise SDL with the SDL_INIT_VIDEO flag only to cut down on unnecessary systems, but my main concern is when I call SDL_SetVideoMode. If I specify SDL_RESIZABLE only, what does the system do with the bpp variable? Is SDL creating a system that I will not be using and (worst case) slowing anything down? Also, specifying SDL_FULLSCREEN should make it full screen? Again, how would this work with the DirectX surfaces? Any advice on this would be appreciated. Thanks Spree

Share this post


Link to post
Share on other sites
Advertisement
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!