MCPcopy Create free account
hub / github.com/crossuo/crossuo / EnableOpenGLDebugMsgType

Function EnableOpenGLDebugMsgType

src/Renderer/RenderDebug.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static void EnableOpenGLDebugMsgType(GLenum type, bool assert, bool log)
61{
62 auto &info = s_openglDebugMsgType[type % OGL_DEBUGMSG_TYPE_COUNT];
63 info.assert = assert ? OGL_DBGMSG_ENABLED : OGL_DBGMSG_DISABLED;
64 info.log = log ? OGL_DBGMSG_ENABLED : OGL_DBGMSG_DISABLED;
65}
66
67static void EnableOpenGLMessage(GLuint id, bool assert, bool log)
68{

Callers 1

SetupOGLDebugMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected