Skip to content

Commit

Permalink
fix: needOffscreenCanvas typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-liang committed Nov 18, 2024
1 parent 39475f8 commit cdafdee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/systems/armarker/openvps.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ AFRAME.registerComponent('openvps', {

this.tick = AFRAME.utils.throttleTick(this.tick, this.data.interval, this);

// Set ccwebxr needsOffscreenCanvas to true
// Set ccwebxr needOffscreenCanvas to true
ARENA.events.addEventListener(ARENA_EVENTS.CV_INITIALIZED, () => {
const webxrcc = new WebXRCameraCapture();
webxrcc.needsOffscreenCanvas = true;
webxrcc.needOffscreenCanvas = true;
});

this.cameraCanvas = undefined;
Expand Down

0 comments on commit cdafdee

Please sign in to comment.