nesbox / TIC-80

TIC-80 is a fantasy computer for making, playing and sharing tiny games.
https://tic80.com
MIT License
4.83k stars 460 forks source link

Update glew in sdl-gpu so AddressSanitizer doesn't error out on it; switch to my fork for it #2537

Closed aliceisjustplaying closed 1 month ago

aliceisjustplaying commented 1 month ago

AddressSanitizer errors out with the glew library in sdl-gpu unless it's updated.

I took the version/commit hash you used currently for sdl-gpu, forked it and updated glew to its latest version from its git master branch.

Updating sdl-gpu itself would be a much bigger endeavor as there are many breaking changes.

As far as I could test it, things work fine with the updated version.

Related to https://github.com/nesbox/TIC-80/pull/2533 and https://github.com/nesbox/TIC-80/pull/2534.