[osg-submissions] Fix for flickering in osgviewerWX example
Brandon Hamm
bhamm at ieee.org
Sun Aug 26 20:34:55 PDT 2007
This is a fix for severe flickering of the display window when events (such
as mouse enter/leave, key down/up) when running the osgviewerWX example
program. The problem is that wxGLCanvas is created as a single-buffered
surface by default. I've modified the constructor for GraphicsWindowWX to
take an array of integer attributes, and creating a double-buffered
surface.
Thanks,
Brandon Hamm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070826/4e24f347/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgviewerWX.cpp
Type: text/x-c++src
Size: 6423 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070826/4e24f347/attachment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgviewerWX.h
Type: text/x-chdr
Size: 1956 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070826/4e24f347/attachment.h
More information about the osg-submissions
mailing list