PDA

View Full Version : A few SDL questions



Orzech
03-03-2004, 02:42 AM
Hello!

I have some questions related to SDL. They are mainly about some initialization stuff so they shouldn't be too dificult (although, I am a bit confused about it). I'd be thankful for your help! http://www.opengl.org/discussion_boards/ubb/smile.gif

1) If I set the initialization flag SDL_OPENGLBLIT do I need to set SDL_DOUBLEBUF too to have double-buffering?

2) Is it normal that when I am not using the fullscreen mode the color depth in my application is a desktop's color?

3) When I quit a program fullscreen mode the resoultion doesn't return to previous one (I am using SDL_QUIT). What's wrong?

GREAT THANKS! http://www.opengl.org/discussion_boards/ubb/smile.gif

03-03-2004, 04:13 AM
SDL_OPENGLBLIT ist deprecated and shouldn't be used (take a look at the online documentation of SDL_SetVideoMode). Try glSDL instead (http://olofson.net/mixed.html).