Implemented scanline and silhouette effect #363
|
@ -464,7 +464,7 @@ namespace SHADE
|
|||
SHCompileAssetEvent compileShaderEvent
|
||||
{
|
||||
.assetName = newPath.filename().stem().string(),
|
||||
.assetID = id,
|
||||
.assetID = target,
|
||||
.assetType = AssetType::SHADER,
|
||||
};
|
||||
SHEventManager::BroadcastEvent<SHCompileAssetEvent>(compileShaderEvent, SH_ASSET_COMPILE_EVENT);
|
||||
|
|
|
@ -362,7 +362,10 @@ namespace SHADE
|
|||
{
|
||||
// if it was created before, destroy it
|
||||
if (created)
|
||||
{
|
||||
logicalDeviceHdl->WaitIdle();
|
||||
logicalDeviceHdl->GetVkLogicalDevice().destroyPipeline(vkPipeline, nullptr);
|
||||
}
|
||||
|
||||
// Set to false again. If creation succeeds after this, this will be true
|
||||
created = false;
|
||||
|
|
Loading…
Reference in New Issue