We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf8e798 commit 9c1a252Copy full SHA for 9c1a252
filament/src/details/Scene.cpp
@@ -446,7 +446,8 @@ void FScene::updateUBOs(
446
447
// We capture state shared between Scene and the update buffer callback, because the Scene could
448
// be destroyed before the callback executes.
449
- std::weak_ptr<SharedState>* const weakShared = new(std::nothrow) std::weak_ptr(mSharedState);
+ std::weak_ptr<SharedState>* const weakShared =
450
+ new (std::nothrow) std::weak_ptr<SharedState>(mSharedState);
451
452
// update the UBO
453
driver.resetBufferObject(renderableUbh);
libs/utils/include/utils/bitset.h
@@ -26,6 +26,7 @@
26
27
#include <algorithm> // for std::fill
28
#include <iterator>
29
+#include <limits>
30
#include <type_traits>
31
32
#if defined(__ARM_NEON)
0 commit comments