new_editor: close startup screenshot ownership

This commit is contained in:
2026-04-22 02:47:28 +08:00
parent b863dfe727
commit 173ab89158
8 changed files with 45 additions and 48 deletions

View File

@@ -5,13 +5,13 @@
#endif
#include "Composition/EditorShellRuntime.h"
#include "Platform/Win32/EditorWindowScreenshotController.h"
#include <Rendering/D3D12/D3D12UiRenderer.h>
#include <Rendering/D3D12/D3D12UiTextSystem.h>
#include <Rendering/D3D12/D3D12UiTextureHost.h>
#include <Rendering/D3D12/D3D12WindowRenderLoop.h>
#include <Rendering/D3D12/D3D12WindowRenderer.h>
#include <Rendering/Native/AutoScreenshot.h>
#include <XCEditor/Workspace/UIEditorWorkspaceController.h>
@@ -97,7 +97,7 @@ private:
Host::D3D12UiTextSystem m_textSystem = {};
Host::D3D12UiRenderer m_uiRenderer = {};
Host::D3D12WindowRenderLoop m_windowRenderLoop = {};
Host::AutoScreenshotController m_autoScreenshot = {};
EditorWindowScreenshotController m_screenshotController = {};
::XCEngine::UI::UITextureHandle m_titleBarLogoIcon = {};
UIEditorWorkspaceController m_workspaceController = {};
EditorShellRuntime m_shellRuntime = {};