Skip to content

Commit

Permalink
Update Source/utils/surface_to_clx.cpp
Browse files Browse the repository at this point in the history
Well spotted!

Co-authored-by: Stephen C. Wills <[email protected]>
  • Loading branch information
glebm and StephenCWills authored Oct 12, 2024
1 parent 56271c4 commit 8ea7d71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/utils/surface_to_clx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ OwnedClxSpriteList SurfaceToClx(const Surface &surface, unsigned numFrames,
WriteLE16(&clxData[frameHeaderPos], ClxFrameHeaderSize);
WriteLE16(&clxData[frameHeaderPos + 2], static_cast<uint16_t>(width));
WriteLE16(&clxData[frameHeaderPos + 4], static_cast<uint16_t>(frameHeight));
memset(&clxData[frameHeaderPos + 6], 0, 4);

unsigned transparentRunWidth = 0;
size_t line = 0;
Expand Down

0 comments on commit 8ea7d71

Please sign in to comment.