mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:49:56 +00:00
19 lines
400 B
C++
19 lines
400 B
C++
#ifndef OPENMW_COMPONENTS_DEBUG_GLDEBUG_H
|
|
#define OPENMW_COMPONENTS_DEBUG_GLDEBUG_H
|
|
|
|
#include <osgViewer/ViewerEventHandlers>
|
|
|
|
namespace Debug
|
|
{
|
|
class EnableGLDebugOperation : public osg::GraphicsOperation
|
|
{
|
|
public:
|
|
EnableGLDebugOperation();
|
|
|
|
virtual void operator()(osg::GraphicsContext* graphicsContext);
|
|
|
|
private:
|
|
OpenThreads::Mutex mMutex;
|
|
};
|
|
}
|
|
#endif
|