Limit-Theory-Redux / ltheory

Limit Theory Redux is a fork of the discontinued open-world space simulation game Limit Theory. We have made it our mission to continue the development of the ambitious Limit Theory project as an open source initiative.
Apache License 2.0
58 stars 7 forks source link

Fix a double free in ShaderState #298

Closed dgavedissian closed 2 months ago

dgavedissian commented 2 months ago

Fixes a crash introduced by https://github.com/Limit-Theory-Redux/ltheory/pull/295 because we aren't increasing the ref counts of the texture resources