ShredEagle / snacman

He is a snac man.
MIT License
0 stars 0 forks source link

Seems I reverted the linux linking issue by fixing the seg fault in linux #126

Open FranzPoize opened 4 months ago

FranzPoize commented 4 months ago

After getting the renderer v2 update there was an issue with the linux version:

Logger where never instantiated. It seems clang will not instantiate static properties of class that are never included. To fix that I used the pattern that is used for serialization. A shared_ptr is defined as a static property of the defining struct and instantiated inline.

Unfortunately it seems to have broke the windows linking issue of ad_processor_loggerinitialization, ad_profiler_loggerinitialization and ad_renderer_loggerinitialization.