- Timestamp:
- 03/13/10 12:28:00 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowCocoa.mm
r10887 r11207 1383 1383 // ---------------------------------------------------------------------------------------------------------- 1384 1384 1385 struct CocoaWindowingSystemInterface : public DarwinWindowingSystemInterface { 1386 1387 CocoaWindowingSystemInterface() 1388 : DarwinWindowingSystemInterface() 1389 1390 { 1391 } 1392 1385 struct CocoaWindowingSystemInterface : public DarwinWindowingSystemInterface 1386 { 1387 1388 CocoaWindowingSystemInterface() : DarwinWindowingSystemInterface() 1389 { 1390 } 1391 1393 1392 void initAsStandaloneApplication() 1394 1393 { 1394 _init(); 1395 1395 1396 static bool s_inited = false; 1396 1397 if (s_inited) return; … … 1422 1423 virtual osg::GraphicsContext* createGraphicsContext(osg::GraphicsContext::Traits* traits) 1423 1424 { 1425 _init(); 1426 1424 1427 if (!traits->pbuffer) 1425 1428 {
