Show
Ignore:
Timestamp:
04/14/14 18:16:22 (3 days ago)
Author:
robert
Message:

Fixed comment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowIOS.mm

    r13277 r13376  
    728728    _viewContentScaleFactor = -1.0f; 
    729729    _valid = _initialized = true; 
     730 
     731    // make sure the event queue has the correct window rectangle size and input range 
     732    getEventQueue()->syncWindowRectangleWithGraphcisContext(); 
    730733} 
    731734 
     
    890893    // IOSs origin is top/left: 
    891894    getEventQueue()->getCurrentEventState()->setMouseYOrientation(osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS); 
     895 
     896    // make sure the event queue has the correct window rectangle size and input range 
     897    getEventQueue()->syncWindowRectangleWithGraphcisContext(); 
    892898     
    893899    _valid = _initialized = _realized = true;