example 0/1 run OK on newly RenderTarget

This commit is contained in:
2025-03-12 01:25:49 +08:00
parent 0706f27354
commit 774f106738
11 changed files with 103 additions and 85 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include<hgl/WorkObject.h>
#include<hgl/graph/VKRenderTargetSwapchain.h>
namespace hgl
{
@@ -49,13 +50,13 @@ namespace hgl
class SwapchainWorkManager:public WorkManager,public io::WindowEvent
{
graph::SwapchainModule *swpachain_module;
graph::SwapchainModule *swapchain_module;
public:
SwapchainWorkManager(graph::RenderFramework *rf):WorkManager(rf)
{
swpachain_module=rf->GetSwapchainModule();
swapchain_module=rf->GetSwapchainModule();
render_framework->Join(this);
}