[Fix] (MG_Backend/DirectVulkan): Vulkan backend default framebuffer initialization

This commit is contained in:
2026-03-01 21:21:32 +08:00
parent f61f068e28
commit 43f2043478
7 changed files with 116 additions and 51 deletions
@@ -21,7 +21,8 @@ namespace MobileGL::MG_Backend::DirectVulkan {
static inline VkDevice s_device;
VkRenderPass renderPass = VK_NULL_HANDLE;
VkFramebuffer framebuffer = VK_NULL_HANDLE;
Vector<VkTextureManager::TextureResource> textureResources;
// Should we hold pointer-to-resource here?
Vector<VkTextureManager::TextureResource*> textureResources;
IntVec2 extent = {0, 0};
Uint32 subpass = 0;