Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
77
Issues
77
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glow
glow
Commits
6c99baa6
Commit
6c99baa6
authored
Sep 30, 2020
by
Philip Trettner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added isInitialized
parent
50cd8289
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/glow/glow.cc
src/glow/glow.cc
+2
-0
src/glow/glow.hh
src/glow/glow.hh
+3
-0
No files found.
src/glow/glow.cc
View file @
6c99baa6
...
...
@@ -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
;
}
src/glow/glow.hh
View file @
6c99baa6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment