RandyGaul / cute_framework

The *cutest* framework out there for creating 2D games in C++!
https://randygaul.github.io/cute_framework/#/
Other
546 stars 31 forks source link

Fix cf_destroy_shader #256

Open bullno1 opened 3 days ago

bullno1 commented 3 days ago

The hashmap removal would invalidate the earlier pointer and a different blit shader would be destroyed.

A blit shader is not mapped to anything so I think it safe to remove the mapping later.