Skip to content

Commit ef1cd64

Browse files
authored
Merge pull request #15290 from dmarcos/frame
Pass XRFrame reference to client render loop.
2 parents b0a1e8c + 3a813d6 commit ef1cd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webxr/WebXRManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function WebXRManager( renderer, gl ) {
353353

354354
}
355355

356-
if ( onAnimationFrameCallback ) onAnimationFrameCallback( time );
356+
if ( onAnimationFrameCallback ) onAnimationFrameCallback( time, frame );
357357

358358
}
359359

0 commit comments

Comments
 (0)