Decouple editor windowing from D3D12 runtime
This commit is contained in:
@@ -59,7 +59,8 @@ EditorHostWindow* EditorWindowManager::CreateWorkspaceWindow(
|
||||
EditorHostWindow* const window = m_hostRuntime.CreateHostWindow(
|
||||
std::make_unique<EditorWindowRuntimeController>(
|
||||
m_editorContext,
|
||||
m_contentFactory->CreateWorkspaceContentController(windowState)),
|
||||
m_contentFactory->CreateWorkspaceContentController(windowState),
|
||||
m_hostRuntime.CreateWindowRenderRuntime()),
|
||||
params);
|
||||
if (window != nullptr) {
|
||||
m_workspaceCoordinator->RegisterExistingWindow(*window);
|
||||
@@ -77,7 +78,8 @@ EditorHostWindow* EditorWindowManager::CreateUtilityWindow(
|
||||
EditorHostWindow* const window = m_hostRuntime.CreateHostWindow(
|
||||
std::make_unique<EditorWindowRuntimeController>(
|
||||
m_editorContext,
|
||||
m_contentFactory->CreateUtilityContentController(descriptor)),
|
||||
m_contentFactory->CreateUtilityContentController(descriptor),
|
||||
m_hostRuntime.CreateWindowRenderRuntime()),
|
||||
params);
|
||||
if (window != nullptr) {
|
||||
m_workspaceCoordinator->RegisterExistingWindow(*window);
|
||||
|
||||
Reference in New Issue
Block a user