if different stencil size is specified the second time with SDL_GL_SetAttribute then SDL_SetVideoMode fails
[pascal]
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, ;
surface:= SDL_SetVideoMode(640, 480, 32, SDL_OPENGL or SDL_DOUBLEBUF);
SDL_FreeSurface(surface);
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 0);
surface:= SDL_SetVideoMode(640, 480, 32, SDL_OPENGL or SDL_DOUBLEBUF);
[/pascal]
Anybody else experience this?