ncannasse 11 anni fa
parent
commit
0d5a66eb55
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      hxd/BitmapData.hx

+ 1 - 1
hxd/BitmapData.hx

@@ -61,7 +61,7 @@ abstract BitmapData(InnerData) {
 		#end
 		#end
 	}
 	}
 	
 	
-	public inline function getPixel( x : Int, y : Int ) {
+	public inline function getPixel( x : Int, y : Int ) : Int {
 		#if flash
 		#if flash
 		return this.getPixel32(x, y);
 		return this.getPixel32(x, y);
 		#else
 		#else