PDA

View Full Version : SDL/OpenGL and the PFD



The_Weasel
03-19-2002, 12:55 AM
hello,
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

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

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