View Full Version : SDL/OpenGL and the PFD

03-18-2002, 11:55 PM
I'm currently using an SDL framework for OpenGL apps, and require to init a stencil buffer. however in the framework there is no pixel format descriptor, and hence i cannot allocate a stencil buffer. Is this not required under SDL, or how else is the stencil buffer initialised in this case?

thanks in advance

03-20-2002, 09:55 AM
Have you read the documents?

Look at http://sdldoc.csn.ul.ie/sdlglsetattribute.php and http://sdldoc.csn.ul.ie/sdlglattr.php.