mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Fix]: compilation error after merge
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user