Skip to content
Snippets Groups Projects
Commit 6c99baa6 authored by Philip Trettner's avatar Philip Trettner
Browse files

added isInitialized

parent 50cd8289
No related branches found
No related tags found
No related merge requests found
......@@ -91,3 +91,5 @@ void glow::checkValidGLOW()
glow::error() << "ERROR: GLOW is not initialized OR called from wrong thread.";
}
#endif
bool glow::isInitialized() { return _isGlowInitialized; }
......@@ -22,6 +22,9 @@ extern struct _glowGLVersion
*/
bool initGLOW();
/// returns true if glow is initialized in this thread
bool isInitialized();
/// Asserts that glow is initialized
/// Fails if not initialized OR wrong thread
#ifdef GLOW_PERFORM_VALIDATION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment