[osg-submissions] GraphicsContext::resizedImplementation

Vit Stancl stancl at fit.vutbr.cz
Tue Dec 4 03:36:46 PST 2007


When window has a decoration, it can be resized into a zero x something 
or something x zero size. In GraphicsContext::resizedImplementation it 
leads to a wrong (NaN containing) projection matrix and scene is not 
displayed (and will not be, until new projection matrix is set to camera).

This is a bit ad hoc solution, but it works.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GraphicsContext.zip
Type: application/x-zip-compressed
Size: 5298 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071204/c3dd50f2/attachment.bin 


More information about the osg-submissions mailing list