Show
Ignore:
Timestamp:
05/21/15 16:11:54 (4 days ago)
Author:
robert
Message:

Fixed memory error associated with reading over the end of container due to an unbounded while loop.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgQt/GraphicsWindowQt.cpp

    r13130 r13376  
    433433    } 
    434434 
     435    // make sure the event queue has the correct window rectangle size and input range 
     436    getEventQueue()->syncWindowRectangleWithGraphcisContext(); 
     437     
    435438    return true; 
    436439} 
     
    648651    _realized = true; 
    649652 
     653    // make sure the event queue has the correct window rectangle size and input range 
     654    getEventQueue()->syncWindowRectangleWithGraphcisContext(); 
     655     
    650656    // make this window's context not current 
    651657    // note: this must be done as we will probably make the context current from another thread