Skip to content

Commit 73ed9e1

Browse files
z3moonpixelflinger
andcommitted
Update filament/src/FrameInfo.h
Co-authored-by: Mathias Agopian <[email protected]>
1 parent 15c2f7e commit 73ed9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filament/src/FrameInfo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class FrameInfoManager {
165165

166166
details::FrameInfo getLastFrameInfo() const noexcept {
167167
// if pFront is not set yet, return FrameInfo(). But the `valid` field will be false in this case.
168-
return pFront ? *pFront : details::FrameInfo();
168+
return pFront ? *pFront : details::FrameInfo{};
169169
}
170170

171171
utils::FixedCapacityVector<Renderer::FrameInfo> getFrameInfoHistory(size_t historySize) const noexcept;

0 commit comments

Comments
 (0)