1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 10:06:40 +00:00

Finsih gldebug move completely this time

This commit is contained in:
AnyOldName3 2018-10-26 15:19:31 +01:00
parent ac18983f37
commit e147f6fed9

View file

@ -102,11 +102,11 @@ void enableGLDebugExtension(unsigned int contextID)
Log(Debug::Error) << "Unable to attach OpenGL debug callback."; Log(Debug::Error) << "Unable to attach OpenGL debug callback.";
} }
EnableGLDebugOperation::EnableGLDebugOperation() : osg::GraphicsOperation("EnableGLDebugOperation", false) Debug::EnableGLDebugOperation::EnableGLDebugOperation() : osg::GraphicsOperation("EnableGLDebugOperation", false)
{ {
} }
void EnableGLDebugOperation::operator()(osg::GraphicsContext* graphicsContext) void Debug::EnableGLDebugOperation::operator()(osg::GraphicsContext* graphicsContext)
{ {
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(mMutex); OpenThreads::ScopedLock<OpenThreads::Mutex> lock(mMutex);