Commit 6c99baa6 authored by Philip Trettner's avatar Philip Trettner

added isInitialized

parent 50cd8289
......@@ -91,3 +91,5 @@ void glow::checkValidGLOW()
glow::error() << "ERROR: GLOW is not initialized OR called from wrong thread.";
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment