[SDL] Re: sdl GL with stencil buffer

A. Umbach marvin at dataway.ch
Wed Apr 26 05:44:04 PDT 2000


Franck Guillaud <fguillaud at mailivs.ivs.fr> schrieb am 26 Apr 2000:

> > using  the below code without the stencil buffer line It works fine
> > but with the stencil buffer line it starts and bombs out with :
> > 
> > "Unable to create OpenGL screen: could not determine glx visual info"
> > 
> > this is using SDL ver 1.1.2 and XFree86 4 with the opengl Dri for
> > voodoo banshee working perfectly ....

> >         SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, 2 );
> > 
> >    SDL_SetVideoMode(w, h, 16, SDL_OPENGL | SDL_FULLSCREEN)

> Voodoo cards doesn't have stencil buffer.
> GLX is unable to satisfy your request.

Well, glx should fallback to software rendering then, shouldn't it?

- Andreas
-- 
Check out my 3D lightcycle game: http://www.gltron.org
More than 60'000 Downloads of the latest version (0.53)



More information about the SDL mailing list