mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Feature/globals handling (#1352)
* Cleaner handling of global state * Prevent Lua memory corruption (closes #982) * Initialize glfw first thing to prevent weird joystick loading bug during startup
This commit is contained in:
@@ -138,7 +138,7 @@ void WebBrowserModule::internalInitialize(const ghoul::Dictionary& dictionary) {
|
||||
_enabled = dictionary.value<bool>("Enabled");
|
||||
}
|
||||
|
||||
const bool isMaster = global::windowDelegate.isMaster();
|
||||
const bool isMaster = global::windowDelegate->isMaster();
|
||||
|
||||
if (!_enabled || (!isMaster) ) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user