Skip to content

Commit f47b4a2

Browse files
author
WanderWang
committed
修复Native图片渲染问题
修复Native图片渲染问题
1 parent 10130a4 commit f47b4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/egret/context/net/NativeNetContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module egret {
6464
var request:URLRequest = loader._request;
6565
var bitmapData = egret_native.Texture.addTexture(request.url);
6666
var texture = new Texture();
67-
texture.bitmapData = bitmapData;
67+
texture._setBitmapData(bitmapData);
6868
loader.data = texture;
6969
Event.dispatchEvent(loader,Event.COMPLETE);
7070
};

0 commit comments

Comments
 (0)