- Timestamp:
- 12/10/09 18:52:40 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgViewer/api/Cocoa/PixelBufferCocoa
r10858 r10887 21 21 #include <osg/GraphicsContext> 22 22 #include <osgViewer/Export> 23 24 25 #ifdef __OBJC__ 26 @class NSOpenGLContext; 27 #else 28 class NSOpenGLContext; 29 #endif 23 #include <osgViewer/api/Cocoa/GraphicsHandleCocoa> 30 24 31 25 namespace osgViewer 32 26 { 33 27 34 class OSGVIEWER_EXPORT PixelBufferCocoa : public osg::GraphicsContext 28 class OSGVIEWER_EXPORT PixelBufferCocoa : public osg::GraphicsContext, public osgViewer::GraphicsHandleCocoa 35 29 { 36 30 public: … … 38 32 39 33 PixelBufferCocoa(osg::GraphicsContext::Traits* traits): 34 osg::GraphicsContext(), 35 osgViewer::GraphicsHandleCocoa(), 40 36 _valid(false), 41 37 _initialized(false),
