瀏覽代碼

change captureBitmap() to capturePixels()

bstouls 10 年之前
父節點
當前提交
359ef503c9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/net/PropInspector.hx

+ 1 - 1
hxd/net/PropInspector.hx

@@ -481,7 +481,7 @@ class PropInspector extends cdb.jq.Client {
 							var p = createPanel("" + t);
 							p.html("Loading...");
 							haxe.Timer.delay(function() {
-								var bmp = t.captureBitmap();
+								var bmp = t.capturePixels();
 								var png = bmp.toPNG();
 								bmp.dispose();
 								var pngBase64 = new haxe.crypto.BaseCode(haxe.io.Bytes.ofString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")).encodeBytes(png).toString();