1
0
Fork 0

Don't invalidate Rembrandt buffers when the window is iconified

This commit is contained in:
Frederic Bouvier 2012-06-16 17:20:56 +02:00
parent 622c10b8f9
commit 608520d932

View file

@ -216,6 +216,9 @@ void CameraInfo::updateCameras()
void CameraInfo::resized(double w, double h)
{
if (w == 1.0 && h == 1.0)
return;
bufferSize->set( osg::Vec2f( w, h ) );
for (RenderBufferMap::iterator ii = buffers.begin(); ii != buffers.end(); ++ii) {