Sign in to follow this  

SDL and External API's

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this