Fix g3 build (#9209)

This commit is contained in:
Ben Doherty
2025-09-11 16:28:03 -04:00
committed by GitHub
parent 9c52ec32ff
commit fe81493052
+2 -1
View File
@@ -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<SharedState>* const weakShared = new(std::nothrow) std::weak_ptr(mSharedState);
std::weak_ptr<SharedState>* const weakShared =
new (std::nothrow) std::weak_ptr<SharedState>(mSharedState);
// update the UBO
driver.resetBufferObject(mRenderableUbh);