2
0
Эх сурвалжийг харах

minor optims in debug mode

ncannasse 9 жил өмнө
parent
commit
d50c383474

+ 1 - 0
hxd/Pixels.hx

@@ -173,6 +173,7 @@ class Pixels {
 		format = target;
 	}
 
+	@:noDebug
 	public function getPixel(x, y) : Int {
 		if( flags.has(FlipY) ) y = height - 1 - y;
 		var p = ((x + y * width) * bpp) + offset;

+ 2 - 1
hxd/clipper/Clipper.hx

@@ -276,6 +276,7 @@ private class Join {
 
 //------------------------------------------------------------------------------
 
+@:noDebug
 @:allow(hxd.clipper)
 private class ClipperBase
 {
@@ -832,7 +833,7 @@ enum ResultKind {
 	HolesOnly;
 }
 
-
+@:noDebug
 @:allow(hxd.clipper)
 class Clipper extends ClipperBase {