Nicolas Cannasse 1 year ago
parent
commit
51c4ffb7dd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      h3d/scene/RenderContext.hx

+ 2 - 1
h3d/scene/RenderContext.hx

@@ -67,9 +67,10 @@ class RenderContext extends h3d.impl.RenderContext {
 		drawPass = null;
 	}
 
-	public inline function getGlobal(name) {
+	public inline function getGlobal(name) : Dynamic {
 		return globals.get(name);
 	}
+
 	public inline function setGlobal(name,v:Dynamic) {
 		globals.set(name, v);
 	}