SDL/OpenGL and the PFD

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

Have you read the documents?

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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.