Skip to content

Commit

Permalink
修复Native图片渲染问题
Browse files Browse the repository at this point in the history
修复Native图片渲染问题
  • Loading branch information
WanderWang committed Jul 11, 2014
1 parent 10130a4 commit f47b4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/egret/context/net/NativeNetContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module egret {
var request:URLRequest = loader._request;
var bitmapData = egret_native.Texture.addTexture(request.url);
var texture = new Texture();
texture.bitmapData = bitmapData;
texture._setBitmapData(bitmapData);
loader.data = texture;
Event.dispatchEvent(loader,Event.COMPLETE);
};
Expand Down

0 comments on commit f47b4a2

Please sign in to comment.