Skip to content

Commit

Permalink
Fixed bug 4451 - Loading GIFs on multiple threads returns garbage out…
Browse files Browse the repository at this point in the history
…put and crashes

David L?nnhager

It's due to the use of global variables and static local variables. A quick fix was moving all of that into a "state" struct and declaring it in IMG_LoadGIF_RW(), which apparently fixed the issue.
  • Loading branch information
slouken committed Jun 10, 2019
1 parent b0dcaf4 commit 0ed01df
Showing 1 changed file with 150 additions and 143 deletions.

0 comments on commit 0ed01df

Please sign in to comment.