浏览代码

fixed getPixel

ncannasse 11 年之前
父节点
当前提交
0d5a66eb55
共有 1 个文件被更改,包括 1 次插入1 次删除
  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