Parcourir la source

fixed getPixel

ncannasse il y a 11 ans
Parent
commit
0d5a66eb55
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      hxd/BitmapData.hx

+ 1 - 1
hxd/BitmapData.hx

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