Commit aead073 1 parent 20d5349 commit aead073 Copy full SHA for aead073
File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,20 @@ namespace vsgvr
128
128
if (!_frameStamp)
129
129
{
130
130
// first frame, initialize to frame count and indices to 0
131
+ #if VSG_VERSION_MAJOR >= 1 && VSG_VERSION_MINOR >= 1
132
+ _frameStamp = vsg::FrameStamp::create (t, 0 , 0 );
133
+ #else
131
134
_frameStamp = vsg::FrameStamp::create (t, 0 );
135
+ #endif
132
136
}
133
137
else
134
138
{
135
139
// after first frame so increment frame count and indices
140
+ #if VSG_VERSION_MAJOR >= 1 && VSG_VERSION_MINOR >= 1
141
+ _frameStamp = vsg::FrameStamp::create (t, _frameStamp->frameCount + 1 , 0 );
142
+ #else
136
143
_frameStamp = vsg::FrameStamp::create (t, _frameStamp->frameCount + 1 );
144
+ #endif
137
145
}
138
146
139
147
for (auto & layer : compositionLayers)
You can’t perform that action at this time.
0 commit comments