mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 14:56:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_COMPONENTS_SCENEUTIL_GLEXTENSIONS_H
 | |
| #define OPENMW_COMPONENTS_SCENEUTIL_GLEXTENSIONS_H
 | |
| 
 | |
| #include <osg/GLExtensions>
 | |
| #include <osg/GraphicsThread>
 | |
| 
 | |
| namespace SceneUtil
 | |
| {
 | |
|     bool glExtensionsReady();
 | |
|     osg::GLExtensions& getGLExtensions();
 | |
| 
 | |
|     class GetGLExtensionsOperation : public osg::GraphicsOperation
 | |
|     {
 | |
|     public:
 | |
|         GetGLExtensionsOperation();
 | |
| 
 | |
|         void operator()(osg::GraphicsContext* graphicsContext) override;
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |