Surface data

Stuart Bennett sb476 at cam.ac.uk
Tue Sep 13 14:23:33 BST 2011


On 13/09/11 12:49, Olly Betts wrote:
> Why is there a 1 in attribList?  WX_GL_DOUBLEBUFFER doesn't appear to
> take an argument, and so that 1 means WX_GL_RGBA, which we do want, but
> using the constant is clearer.  Did I misunderstand something there?

Sorry, I misread wxGLCanvas::GetGLAttribListFromWX and assumed 
WX_GL_DOUBLEBUFFER needed a boolean "1" after it as a attribute/value 
pair type thing.

Stuart



More information about the Survex mailing list