harrand / Topaz

C++23 Game Engine
https://harrand.github.io/Topaz/
MIT License
33 stars 3 forks source link

tz::graphics::instancify leaks an InstancedMesh #23

Closed harrand closed 6 years ago

harrand commented 6 years ago

Began in the proof-of-concept of InstancedMesh; commit a31c4ae5a7e3fbc248ea01b673aff38f9b107b82

harrand commented 6 years ago

Solved by using std::variant in Object. See commit 99b564b69891255a93cd1367074b468124fbd052