Show
Ignore:
Timestamp:
11/20/14 18:37:52 (9 hours ago)
Author:
robert
Message:

From Claus Steuer, "XCode 6, IOs 8.1 SDK Compile fix : There are some undefined texture formats when compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgGA/EventQueue

    r13041 r13376  
    6565        /** Set the graphics context associated with this event queue.*/ 
    6666        void setGraphicsContext(osg::GraphicsContext* context) { getCurrentEventState()->setGraphicsContext(context); } 
     67         
     68        osg::GraphicsContext* getGraphicsContext() { return getCurrentEventState()->getGraphicsContext(); } 
     69 
     70        const osg::GraphicsContext* getGraphicsContext() const { return getCurrentEventState()->getGraphicsContext(); } 
     71 
     72        /** Read the window record dimensions from the graphics context. */ 
     73        void syncWindowRectangleWithGraphcisContext(); 
    6774 
    6875