1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 17:49:55 +00:00
openmw-tes3mp/components/debug/gldebug.hpp
2020-10-16 22:18:54 +04:00

21 lines
432 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();
void operator()(osg::GraphicsContext* graphicsContext) override;
private:
OpenThreads::Mutex mMutex;
};
bool shouldDebugOpenGL();
}
#endif