From 4429db642e7cc32aa374b038514703baf93a38fa Mon Sep 17 00:00:00 2001 From: vinsentli Date: Wed, 18 Dec 2024 12:08:45 +0800 Subject: [PATCH] NanovgSession : Fix compile --- shell/renderSessions/NanovgSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/renderSessions/NanovgSession.cpp b/shell/renderSessions/NanovgSession.cpp index 69b21bd10e..bd5c9be969 100644 --- a/shell/renderSessions/NanovgSession.cpp +++ b/shell/renderSessions/NanovgSession.cpp @@ -83,7 +83,7 @@ int NanovgSession::loadDemoData(NVGcontext* vg, DemoData* data) { } void NanovgSession::initialize() noexcept { - const CommandQueueDesc desc{.type = CommandQueueType::Graphics}; + const CommandQueueDesc desc; commandQueue_ = getPlatform().getDevice().createCommandQueue(desc, nullptr); renderPass_.colorAttachments.resize(1);