deallocate pipeline in renderer on pipeline destroy
This commit is contained in:
@@ -15,7 +15,9 @@ namespace Tyra {
|
||||
|
||||
StaticPipeline::StaticPipeline() {}
|
||||
|
||||
StaticPipeline::~StaticPipeline() {}
|
||||
StaticPipeline::~StaticPipeline() {
|
||||
if (onDestroy) onDestroy(this);
|
||||
}
|
||||
|
||||
void StaticPipeline::setRenderer(RendererCore* t_core) {
|
||||
rendererCore = t_core;
|
||||
|
||||
Reference in New Issue
Block a user