[osg-submissions] GraphicsWindowWin32 fix to prevent resizing window height to zero

Robert Osfield robert.osfield at gmail.com
Sun Dec 9 03:40:40 PST 2007


Hi Adrian,

Yes

On Dec 8, 2007 5:56 PM, Adrian Egli <3dhelp at gmail.com> wrote:
> i am not sure, but i feel we have to test against:
> windowWidth  = clientRect.right == 0 ? 1 : clientRect.right ;
> windowHeight = clientRect.bottom == 0 ? 1 : clientRect.bottom;

OK now I understand, isn't C++ much clearer language than English :-)

This fix is now applied and checked in.

Robert.


More information about the osg-submissions mailing list