Skip to content

Commit

Permalink
Fix api change of vsg::FrameStamp::create()
Browse files Browse the repository at this point in the history
Fix #53
  • Loading branch information
rhabacker committed Mar 20, 2024
1 parent 20d5349 commit 61e735c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsgvr/src/vsgvr/app/Viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ namespace vsgvr
if (!_frameStamp)
{
// first frame, initialize to frame count and indices to 0
_frameStamp = vsg::FrameStamp::create(t, 0);
_frameStamp = vsg::FrameStamp::create(t, 0, 0);
}
else
{
// after first frame so increment frame count and indices
_frameStamp = vsg::FrameStamp::create(t, _frameStamp->frameCount + 1);
_frameStamp = vsg::FrameStamp::create(t, _frameStamp->frameCount + 1, 0);
}

for (auto& layer : compositionLayers)
Expand Down

0 comments on commit 61e735c

Please sign in to comment.