Skip to content

Commit

Permalink
replace deprecated WebGL1Render with WebGLRender
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Jul 1, 2024
1 parent 8341e15 commit c95982a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/0002.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Fixed

- replace deprecate WebGL1Render with WebGLRender
2 changes: 1 addition & 1 deletion src/js/sketch/distort/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function (id, options = {}) {
height = () => window.innerHeight,
} = options
const canvas = document.getElementById(id)
const renderer = new THREE.WebGL1Renderer({
const renderer = new THREE.WebGLRenderer({
antialias: false,
canvas: canvas,
alpha: true,
Expand Down

0 comments on commit c95982a

Please sign in to comment.