Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 31187a0

Browse files
author
Yuncong Zhang
committed
Fix issue.
1 parent 7c2e0ce commit 31187a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Runtime/ui/painting/GifDecoder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ void _readImage() {
621621

622622
this._setPixels(); // transfer pixel data to image
623623

624-
var bytes = new byte[this._width * this._height * sizeof(int)];
625624
Buffer.BlockCopy(this._image, 0, this._currentFrame.bytes, 0, this._currentFrame.bytes.Length);
626625
this._currentFrame.delay = this._delay;
627626
this._frameCount++;

0 commit comments

Comments
 (0)