mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 06:53:54 +00:00
17 lines
346 B
C++
17 lines
346 B
C++
|
#ifndef OPENMW_COMPONENTS_MISC_GLDEBUG_H
|
||
|
#define OPENMW_COMPONENTS_MISC_GLDEBUG_H
|
||
|
|
||
|
#include <osgViewer/ViewerEventHandlers>
|
||
|
|
||
|
class EnableGLDebugOperation : public osg::GraphicsOperation
|
||
|
{
|
||
|
public:
|
||
|
EnableGLDebugOperation();
|
||
|
|
||
|
virtual void operator()(osg::GraphicsContext* graphicsContext);
|
||
|
|
||
|
private:
|
||
|
OpenThreads::Mutex mMutex;
|
||
|
};
|
||
|
#endif
|