Quote Originally Posted by grudzio
So, actually the calls to SDL_GL_SetAttribute may be omited (except setting the alpha and stencil buffer) since it is up to graphics card what I will get?
Yes, they all can be omitted. Assuming that you're going to be happy with whatever context parameters you will get. If you omit all, then the only thing that is guaranteed is that you will get *some* color buffer.

However, almost all programs will at least need [pascal] SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );[/pascal]