Explorar o código

fixed return value

ncannasse %!s(int64=7) %!d(string=hai) anos
pai
achega
c74704cc4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h3d/mat/MaterialSetup.hx

+ 1 - 1
h3d/mat/MaterialSetup.hx

@@ -26,7 +26,7 @@ class MaterialSetup {
 		this.name = name;
 	}
 
-	public function createRenderer() {
+	public function createRenderer() : h3d.scene.Renderer {
 		return new h3d.scene.DefaultRenderer();
 	}