Skip to content

Commit

Permalink
Update screenshot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arpu authored Feb 1, 2024
1 parent 6a910b1 commit 72c6d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/scene/screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports.Component = registerComponent('screenshot', {
self.onKeyDown = self.onKeyDown.bind(self);
}
},

getRenderTarget: function (width, height) {
return new THREE.WebGLRenderTarget(width, height, {
colorSpace: this.el.sceneEl.renderer.outputColorSpace,
Expand Down

0 comments on commit 72c6d92

Please sign in to comment.