Drawing on multiple SDL_Surface:s


Simple question: I am new to SDL and I am in the process of adapting a small Windows openGL wrapper that I’ve made to SDL. So I have a few questions, the first is:

If I create several SDL_Surfaces with OpenGL capacity, how can I switch between surfaces when drawing? A simple example would be to draw in a 4 view setup (top/side/front/perspective). In Windows I would use wglMakeCurrent to change the active view.

/ Daniel_________________________________________________________________
Hitta k?rleken nu i v?r!