Rather than using the apparently totally undocumented wxGLApp class,
use the documented wxGLCanvas::IsDisplaySupported?() static method
which allows moving this OpenGL-specific code into the same source
file as the other OpenGL-specific code, means we can merge the two
divergent versions of the list of attributes we ask for, and also
likely fixes handling of the case when double buffering isn't available.
(No files)
Note: See TracChangeset
for help on using the changeset viewer.