You do this just to make it 'safe', admit! I have no idea how else you could solve it if not through tests and comparison. I haven't touched OpenGL for a long time so that is just what I would do. :)
The only difference is i get the pixel descriptor thing from the existing context then make my own based on it, but enabling the stencil buffer O_o....
Marco Leise wrote:
hmm, there are a few demo programs for OpenGL on the net - some use stencil buffers. I would suggest you download one of them and compare your code to it. Maybe also try this 'debug message spam' about the config in one of these demo programs to go sure stencil buffer is reported correctly. Does it work with 16-bit at all?
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

