Don't invalidate Rembrandt buffers when the window is iconified
This commit is contained in:
parent
622c10b8f9
commit
608520d932
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue