Show
Ignore:
Timestamp:
11/25/14 15:37:05 (22 hours ago)
Author:
robert
Message:

Removed GL header as it's already included via the ${OPENSCENEGRAPH_OPENGL_HEADER} entry.

Files:
1 modified

Legend:

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

    r13130 r13376  
    10751075    _updateContext = false; 
    10761076    _valid = _initialized = true; 
     1077     
     1078    // make sure the event queue has the correct window rectangle size and input range 
     1079    getEventQueue()->syncWindowRectangleWithGraphcisContext(); 
    10771080} 
    10781081 
     
    12411244    // Cocoa's origin is bottom/left: 
    12421245    getEventQueue()->getCurrentEventState()->setMouseYOrientation(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS); 
     1246 
     1247    // make sure the event queue has the correct window rectangle size and input range 
     1248    getEventQueue()->syncWindowRectangleWithGraphcisContext(); 
    12431249 
    12441250    _valid = _initialized = _realized = true;