Browse Source

fixed getPixel

ncannasse 11 years ago
parent
commit
0d5a66eb55
1 changed files with 1 additions and 1 deletions
  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