mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-01 01:01:37 -06: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:
@@ -42,7 +42,7 @@ namespace openspace {
|
||||
DebugRenderer* DebugRenderer::_reference = nullptr;
|
||||
|
||||
DebugRenderer::DebugRenderer() {
|
||||
_programObject = global::renderEngine.buildRenderProgram(
|
||||
_programObject = global::renderEngine->buildRenderProgram(
|
||||
"BasicDebugShader",
|
||||
absPath("${MODULE_DEBUGGING}/rendering/debugshader_vs.glsl"),
|
||||
absPath("${MODULE_DEBUGGING}/rendering/debugshader_fs.glsl")
|
||||
|
||||
Reference in New Issue
Block a user