Explorar o código

Fix module resolution (#1166)

See https://github.com/HaxeFoundation/haxe/issues/11187
Rudy Ges hai 1 ano
pai
achega
74b527eb0d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      h2d/domkit/BaseComponents.hx
  2. 1 1
      hxd/fmt/hmd/Reader.hx

+ 1 - 1
h2d/domkit/BaseComponents.hx

@@ -4,7 +4,7 @@ import domkit.CssValue;
 
 typedef FlowBg = { tile : #if macro Bool #else h2d.Tile #end, borderL : Int, borderT : Int, borderR : Int, borderB : Int, ?color : Int }
 
-class CustomParser extends CssValue.ValueParser {
+class CustomParser extends domkit.CssValue.ValueParser {
 
 	public function new() {
 		super();

+ 1 - 1
hxd/fmt/hmd/Reader.hx

@@ -150,7 +150,7 @@ class Reader {
 			g.vertexFormat = hxd.BufferFormat.make([for( k in 0...i.readByte() ) {
 				var name = readCachedName();
 				var type = i.readByte();
-				new GeometryFormat(name, @:privateAccess GeometryDataFormat.fromInt(type&15), @:privateAccess Precision.fromInt(type>>4));
+				new GeometryFormat(name, @:privateAccess GeometryDataFormat.fromInt(type&15), @:privateAccess hxd.BufferFormat.Precision.fromInt(type>>4));
 			}]);
 			if( stride != g.vertexFormat.stride ) throw "assert";
 			g.vertexPosition = i.readInt32();