[Fix]: compilation error after merge

This commit is contained in:
2026-03-08 11:06:27 +08:00
parent 4a38e7224e
commit 67069d4a12
3 changed files with 6 additions and 2 deletions
@@ -233,7 +233,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
imageCount);
// Properly initialize Default FBO here
auto* defaultFBOInfo = MG_Impl::GLImpl::FramebufferImpl::pDefaultFramebufferInfo;
auto& defaultFBOInfo = MG_Impl::GLImpl::FramebufferImpl::pDefaultFramebufferInfo;
auto* colorTex = static_cast<MG_State::GLState::TextureObject2D*>(defaultFBOInfo->colorAttachment.get());
colorTex->AllocateStorage(
TextureUploadTarget::Texture2D, 0, {