Nicolas Cannasse 1 سال پیش
والد
کامیت
51c4ffb7dd
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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);
 	}