From bc8109b695cd9277ef4a4bbb4190291125884466 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Mon, 15 Jun 2026 21:01:55 +0800 Subject: [PATCH] [Fix] (trace-replay): fix Android Vulkan pbuffer build --- MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp b/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp index 7137eea0..2dd34e74 100644 --- a/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp +++ b/MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp @@ -58,7 +58,7 @@ namespace MobileGL::MG_Backend::DirectVulkan { VulkanRendererConfig config; config.SurfaceWidth = static_cast(std::max(width, 1)); config.SurfaceHeight = static_cast(std::max(height, 1)); - pVulkanRenderer = MakeUnique(0, config); + pVulkanRenderer = MakeUnique(NativeWindowType{}, config); MOBILEGL_ASSERT(pVulkanRenderer != nullptr, "InitPbufferSurface: VulkanRenderer creation failed"); pVulkanRenderer->Initialize(); return true;