2
0
Nicolas Cannasse 11 жил өмнө
parent
commit
b12997b7ff

+ 0 - 1
h3d/pass/Object.hx

@@ -9,6 +9,5 @@ class Object {
 	public var next : Object;
 	public function new() {
 		shaders = [];
-		trace("alloc");
 	}
 }

+ 1 - 1
hxd/res/FontBuilder.hx

@@ -133,7 +133,7 @@ class FontBuilder {
 	
 	#elseif js
 	
-	function build() {
+	function build() : h2d.Font {
 		var bmp = js.Browser.document.createCanvasElement();
 		var ctx = bmp.getContext2d();
 		ctx.font = '${this.font.size}px ${this.font.name}';