[osg-submissions] GraphicsContext

Vit Stancl stancl at fit.vutbr.cz
Tue Dec 4 01:47:43 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 --------------
An embedded and charset-unspecified text was scrubbed...
Name: GraphicsContext.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071204/ce1a73f3/attachment.pot 


More information about the osg-submissions mailing list