Fix g3 build (#9209)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user