mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 18:11:01 -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:
@@ -39,7 +39,7 @@ void DataPlane::initializeGL() {
|
||||
IswaCygnet::initialize();
|
||||
|
||||
if (!_shader) {
|
||||
_shader = global::renderEngine.buildRenderProgram(
|
||||
_shader = global::renderEngine->buildRenderProgram(
|
||||
"DataPlaneProgram",
|
||||
absPath("${MODULE_ISWA}/shaders/dataplane_vs.glsl"),
|
||||
absPath("${MODULE_ISWA}/shaders/dataplane_fs.glsl")
|
||||
|
||||
Reference in New Issue
Block a user