Skip to content

Commit

Permalink
Update filament/src/FrameInfo.h
Browse files Browse the repository at this point in the history
Co-authored-by: Mathias Agopian <[email protected]>
  • Loading branch information
z3moon and pixelflinger committed Jul 29, 2024
1 parent 15c2f7e commit 73ed9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filament/src/FrameInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class FrameInfoManager {

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

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

0 comments on commit 73ed9e1

Please sign in to comment.