Show
Ignore:
Timestamp:
12/10/09 18:52:40 (3 years ago)
Author:
robert
Message:

From Stephan Huber, "attached you'll find the missing GraphicsHandleCocoa?-implementation."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/api/Cocoa/PixelBufferCocoa

    r10858 r10887  
    2121#include <osg/GraphicsContext> 
    2222#include <osgViewer/Export> 
    23  
    24  
    25 #ifdef __OBJC__ 
    26 @class NSOpenGLContext; 
    27 #else 
    28 class NSOpenGLContext; 
    29 #endif 
     23#include <osgViewer/api/Cocoa/GraphicsHandleCocoa> 
    3024 
    3125namespace osgViewer 
    3226{ 
    3327 
    34 class OSGVIEWER_EXPORT PixelBufferCocoa : public osg::GraphicsContext 
     28class OSGVIEWER_EXPORT PixelBufferCocoa : public osg::GraphicsContext, public osgViewer::GraphicsHandleCocoa 
    3529{ 
    3630    public: 
     
    3832 
    3933        PixelBufferCocoa(osg::GraphicsContext::Traits* traits): 
     34            osg::GraphicsContext(), 
     35            osgViewer::GraphicsHandleCocoa(), 
    4036            _valid(false), 
    4137            _initialized(false),