From fe81493052d608db3f6ef475aef6c2e7ae1e22a8 Mon Sep 17 00:00:00 2001 From: Ben Doherty Date: Thu, 11 Sep 2025 13:28:03 -0700 Subject: [PATCH] Fix g3 build (#9209) --- filament/src/details/View.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filament/src/details/View.cpp b/filament/src/details/View.cpp index 2567197f84..99dec3377c 100644 --- a/filament/src/details/View.cpp +++ b/filament/src/details/View.cpp @@ -982,7 +982,8 @@ void FView::updateUBOs( // We capture state shared between Scene and the update buffer callback, because the Scene could // be destroyed before the callback executes. - std::weak_ptr* const weakShared = new(std::nothrow) std::weak_ptr(mSharedState); + std::weak_ptr* const weakShared = + new (std::nothrow) std::weak_ptr(mSharedState); // update the UBO driver.resetBufferObject(mRenderableUbh);