Changeset 12309
- Timestamp:
- 04/26/11 14:05:57 (2 years ago)
- Location:
- OpenSceneGraph/trunk
- Files:
-
- 2 modified
-
include/osgViewer/api/Cocoa/GraphicsWindowCocoa (modified) (1 diff)
-
src/osgViewer/GraphicsWindowCocoa.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgViewer/api/Cocoa/GraphicsWindowCocoa
r12292 r12309 86 86 virtual bool isSameKindAs(const Object* object) const { return dynamic_cast<const GraphicsWindowCocoa*>(object)!=0; } 87 87 virtual const char* libraryName() const { return "osgViewer"; } 88 virtual const char* className() const { return "GraphicsWindowC arbon"; }88 virtual const char* className() const { return "GraphicsWindowCocoa"; } 89 89 90 90 virtual bool valid() const { return _valid; } -
OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowCocoa.mm
r12292 r12309 1021 1021 return false; 1022 1022 } 1023 1024 // set graphics handle for shared usage 1025 setNSOpenGLContext(_context); 1026 1023 1027 GraphicsWindowCocoaGLView* theView = [[ GraphicsWindowCocoaGLView alloc ] initWithFrame:[ _window frame ] ]; 1024 1028 [theView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable) ];
