Stencil Buffer in SDL

Started by
0 comments, last by Reverse_Gecko 21 years, 1 month ago
I'm working on a project that involves stenicled volumetric shadows. Origionally I was using basecode from the dev-c++ opengl example code, and I had to change the pixelformatdescriptor to allow the stencil buffer. I have swiched to sdl, but I don't know how to change the pfd so it allowes the stencil buffer. Any help would be appreciated. [edited by - reverse_gecko on March 23, 2003 12:53:10 PM]
Jeff Bland (Reverse_Gecko)reversegecko@gmail.com
Advertisement
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, the_stencil_buffer_size_that_you_want);

This topic is closed to new replies.

Advertisement